Spaces:
Sleeping
Sleeping
Update src/main.py
Browse files- src/main.py +1 -0
src/main.py
CHANGED
|
@@ -26,6 +26,7 @@ _frontend_origins = [o.strip() for o in settings.FRONTEND_URL.split(",")] if set
|
|
| 26 |
allowed_origins = _frontend_origins + [
|
| 27 |
# Local development (all common ports)
|
| 28 |
"http://localhost:3000", "http://localhost:3001", "http://localhost:8000",
|
|
|
|
| 29 |
"http://localhost:38905", "http://localhost:40529", # User's dynamic ports
|
| 30 |
"http://127.0.0.1:3000", "http://127.0.0.1:3001", "http://127.0.0.1:8000",
|
| 31 |
"http://127.0.0.1:38905", "http://127.0.0.1:40529", # User's dynamic ports
|
|
|
|
| 26 |
allowed_origins = _frontend_origins + [
|
| 27 |
# Local development (all common ports)
|
| 28 |
"http://localhost:3000", "http://localhost:3001", "http://localhost:8000",
|
| 29 |
+
"https://delightful-water-0806a5b1e.2.azurestaticapps.net",
|
| 30 |
"http://localhost:38905", "http://localhost:40529", # User's dynamic ports
|
| 31 |
"http://127.0.0.1:3000", "http://127.0.0.1:3001", "http://127.0.0.1:8000",
|
| 32 |
"http://127.0.0.1:38905", "http://127.0.0.1:40529", # User's dynamic ports
|