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:
Atharv1705
2026-08-10 11:38:24 +05:30
parent 419aa6de3d
commit 683e29e0d1
4 changed files with 8 additions and 51 deletions
+1 -1
View File
@@ -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()
]