fix: update domain to aiindiacpa.duckdns.org
- nginx/default.conf: server_name aiindiacpa.duckdns.org + VPS IP (no trailing slash) - main.py: CORS default fallback updated to new domain - review.py: DASHBOARD_LINK reads from FRONTEND_URL env var (no hardcoded domain) - login_email.py: login/signup email links read from FRONTEND_URL env var - ALLOWED_ORIGINS in .env: https://aiindiacpa.duckdns.org + http://147.93.168.145 (IP on port 80 via nginx, not 8000 direct FastAPI)
This commit is contained in:
@@ -61,7 +61,7 @@ _ALLOWED_ORIGINS = [
|
||||
o.strip()
|
||||
for o in os.getenv(
|
||||
"ALLOWED_ORIGINS",
|
||||
"https://bookkeepro.net,http://localhost:8000",
|
||||
"https://aiindiacpa.duckdns.org,http://localhost:8000",
|
||||
).split(",")
|
||||
if o.strip()
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user