Kaynağa Gözat

아차 실수

Surplus_Up (2DU) 7 yıl önce
ebeveyn
işleme
42ca7b388c
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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)