Compare commits
1 Commits
072ae25f7c
...
41ff76e6c9
| Author | SHA1 | Date | |
|---|---|---|---|
| 41ff76e6c9 |
1
app.py
1
app.py
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user