Przeglądaj źródła

threaded 추가

2DU 9 lat temu
rodzic
commit
453cf2a9b4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -2108,4 +2108,4 @@ def uncaughtError(error):
     return '<meta http-equiv="refresh" content="0;url=/w/' + parse.quote(data['frontpage']).replace('/','%2F') + '" />'
 
 if __name__ == '__main__':
-    app.run(host = '0.0.0.0', port = int(data['port']))
+    app.run(host = '0.0.0.0', port = int(data['port']), threaded = True)