try: ditch waitress

This commit is contained in:
cwilvx
2025-02-07 17:10:27 +03:00
parent 7082f30209
commit beec5bc7d3
6 changed files with 1666 additions and 69 deletions
+1
View File
@@ -67,6 +67,7 @@ def create_api():
app = OpenAPI(__name__, info=api_info, doc_prefix="/docs")
# JWT CONFIGS
app.config["JWT_VERIFY_SUB"] = False
app.config["JWT_SECRET_KEY"] = UserConfig().serverId
app.config["JWT_TOKEN_LOCATION"] = ["cookies", "headers"]
app.config["JWT_COOKIE_CSRF_PROTECT"] = False