cors fix
This commit is contained in:
parent
9000110d25
commit
0d42ff72d3
5 changed files with 17 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ DATABASE_URL=postgresql+psycopg://urmi:urmi@localhost:5433/urmi
|
|||
# Must match the browser origin serving the frontend (CORS + OAuth redirect target)
|
||||
FRONTEND_ORIGIN=http://localhost:5173
|
||||
# Production: FRONTEND_ORIGIN=https://urmiai.com
|
||||
# Production: CORS_ORIGINS=https://urmiai.com,http://urmiai.com,https://www.urmiai.com,http://www.urmiai.com
|
||||
|
||||
# --- Auth / sessions ---
|
||||
# Required in production. Use at least 32 random characters.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue