improve: add production stage

This commit is contained in:
h z
2024-12-09 07:01:22 +00:00
parent 072ae25f7c
commit 41ff76e6c9

1
app.py
View File

@@ -31,6 +31,7 @@ CORS(app, resources={r"/api/*": {"origins": [
env_provider.FRONTEND_HOST, env_provider.FRONTEND_HOST,
r"https?://localhost:\d+", r"https?://localhost:\d+",
r"https?://127\.0\.0\.1:\d+", r"https?://127\.0\.0\.1:\d+",
r"https?://localhost"
]}}) ]}})
limiter.init_app(app) limiter.init_app(app)