Your Name 4 年之前
父節點
當前提交
91244a6968
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      step_question/apis/main.py

+ 1 - 1
step_question/apis/main.py

@@ -28,7 +28,7 @@ def get_db():
 
 
 
-@app.post("/step_questions/submit", response_class=HTMLResponse)
+@app.post("/step_questions/submit", response_class=RedirectResponse)
 async def submit(request: Request):
     form_data = await request.form()
 #    form_data = request.form()