[Enhance][Bug fix] Waitress & API token

- Fix a bug that using API token in config file will not success
- Add deployment mode `waitress`
This commit is contained in:
Lost-MSth
2022-11-03 13:42:39 +08:00
parent 3fde61c639
commit 78d28f8886
4 changed files with 20 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ class Config:
HOST = '0.0.0.0'
PORT = 80
USE_GEVENT_WSGI = False
DEPLOY_MODE = 'flask_multithread'
USE_PROXY_FIX = False
USE_CORS = False