Your Name 3 jaren geleden
bovenliggende
commit
cc3e146fe1
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      step_question/apis/main.py

+ 1 - 1
step_question/apis/main.py

@@ -49,7 +49,7 @@ async def submit(request: Request):
 #    fr.close()
 #    response = RedirectResponse(url='/a1/index_complete.html')
     lines="""<html><body>
-    <script>   document.location = 'index_complete.html?par={0}';   </script>
+    <script>   document.location = '/a1/index_complete.html?par={0}';   </script>
     </body></html>"""
 #    return RedirectResponse(url='/a1/index_complete.html')
     return HTMLResponse(content=lines.format(str(random.randint(100000,999999))), status_code=200)