fix: CSRF_TOKEN

This commit is contained in:
starnakin 2024-05-15 15:45:42 +02:00
parent d574906533
commit d1acb443bd

View File

@ -32,10 +32,10 @@ ALLOWED_HOSTS = ["*"]
CORS_ORIGIN_ALLOW_ALL = False
CSRF_TRUSTED_ORIGINS = ["https://django.chauvet.pro"]
CSRF_TRUSTED_ORIGINS = ["https://localhost:1443"]
CORS_ORIGIN_WHITELIST = (
'http://localhost:8000',
'https://localhost:1443',
)
# Application definition