fixing csrf origins

This commit is contained in:
dekzter 2025-03-04 08:22:14 -05:00
parent 79377c0d7f
commit 23788ffcbe

View file

@ -140,7 +140,10 @@ SERVER_IP = "127.0.0.1"
CORS_ALLOW_ALL_ORIGINS = True
CORS_ALLOW_CREDENTIALS = True
CSRF_TRUSTED_ORIGINS = ['*']
CSRF_TRUSTED_ORIGINS = [
'http://*',
'https://*'
]
APPEND_SLASH = True
REST_FRAMEWORK = {