Your Name 4 년 전
부모
커밋
150f594d16
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      step_question/apis/main.py

+ 4 - 1
step_question/apis/main.py

@@ -120,7 +120,10 @@ async def submit(request: Request):
     }
     print(result)
     get_db().insert(result)
-    mail_to_user(email)
+#    mail_to_user(email)
+    x = threading.Thread(target=hhh_send_mail, args=(email,))
+    x.start()
+
     return RedirectResponse(url="/a1/index_complete_msg.html", status_code=HTTP_302_FOUND)
 #    return result