cors fix
This commit is contained in:
parent
9000110d25
commit
0d42ff72d3
5 changed files with 17 additions and 1 deletions
|
|
@ -9,6 +9,8 @@ AUTH_SECRET=replace-with-at-least-32-random-characters
|
|||
AUTH_COOKIE_SECURE=false
|
||||
ENVIRONMENT=development
|
||||
FRONTEND_ORIGIN=http://localhost:5173
|
||||
# Optional comma-separated CORS origins (defaults to FRONTEND_ORIGIN)
|
||||
# CORS_ORIGINS=https://urmiai.com,http://urmiai.com,https://www.urmiai.com,http://www.urmiai.com
|
||||
VITE_API_URL=http://localhost:8000
|
||||
GOOGLE_CLIENT_ID=
|
||||
GOOGLE_CLIENT_SECRET=
|
||||
|
|
@ -18,6 +20,7 @@ GOOGLE_REDIRECT_URI=http://localhost:8000/api/v1/auth/google/callback
|
|||
# AUTH_COOKIE_SECURE=true
|
||||
# ENVIRONMENT=production
|
||||
# FRONTEND_ORIGIN=https://urmiai.com
|
||||
# CORS_ORIGINS=https://urmiai.com,http://urmiai.com,https://www.urmiai.com,http://www.urmiai.com
|
||||
# VITE_API_URL=https://api.urmiai.com
|
||||
# GOOGLE_REDIRECT_URI=https://api.urmiai.com/api/v1/auth/google/callback
|
||||
# VOICE_RELAY_PUBLIC_URL=wss://api.urmiai.com/api/v1/voice
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue