fix: CSRF_TOKEN
This commit is contained in:
parent
d574906533
commit
d1acb443bd
@ -32,10 +32,10 @@ ALLOWED_HOSTS = ["*"]
|
|||||||
|
|
||||||
CORS_ORIGIN_ALLOW_ALL = False
|
CORS_ORIGIN_ALLOW_ALL = False
|
||||||
|
|
||||||
CSRF_TRUSTED_ORIGINS = ["https://django.chauvet.pro"]
|
CSRF_TRUSTED_ORIGINS = ["https://localhost:1443"]
|
||||||
|
|
||||||
CORS_ORIGIN_WHITELIST = (
|
CORS_ORIGIN_WHITELIST = (
|
||||||
'http://localhost:8000',
|
'https://localhost:1443',
|
||||||
)
|
)
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
Loading…
Reference in New Issue
Block a user