mirror of
https://github.com/TurTaskProject/TurTaskWeb.git
synced 2025-12-18 21:44:07 +01:00
Change CORS
This commit is contained in:
parent
375397c141
commit
d98c77acc6
@ -121,12 +121,10 @@ SOCIALACCOUNT_PROVIDERS = {
|
|||||||
CORS_ALLOW_CREDENTIALS = True
|
CORS_ALLOW_CREDENTIALS = True
|
||||||
CORS_ALLOW_ALL_ORIGINS = False
|
CORS_ALLOW_ALL_ORIGINS = False
|
||||||
CORS_ALLOWED_ORIGINS = [
|
CORS_ALLOWED_ORIGINS = [
|
||||||
"http://localhost:8000",
|
"https://turtask.vercel.app",
|
||||||
"http://127.0.0.1:8000",
|
|
||||||
"http://localhost:5173",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
CSRF_TRUSTED_ORIGINS = ["http://localhost:5173"]
|
CSRF_TRUSTED_ORIGINS = ["https://turtask.vercel.app"]
|
||||||
|
|
||||||
CORS_ORIGIN_WHITELIST = ["*"]
|
CORS_ORIGIN_WHITELIST = ["*"]
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user