Browse Source

아차 실수

Surplus_Up (2DU) 7 năm trước cách đây
mục cha
commit
42ca7b388c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -335,7 +335,7 @@ def indexing():
 def restart():
     return restart_2(conn)
 
-@app.route('/update')
+@app.route('/update', methods=['GET', 'POST'])
 def now_update():
     return now_update_2(conn)