fixed csrf

This commit is contained in:
Lyxminxx committed 2026-09-20 01:00:41 +02:00
1 parent 45da9a2920
commit 75928c6511
1 file changed
+6 -1
+6 -1
View File
@@ -26,7 +26,12 @@ SECRET_KEY = 'django-insecure-m#==%hz74d192o)4!#_!dpz%$yox@!hkabc9)pggkkiuvc7((q
DEBUG = False DEBUG = False
ALLOWED_HOSTS = ['*'] ALLOWED_HOSTS = ['*']
CSRF_TRUSTED_ORIGINS = [
'https://jast.maddiemightcry.xyz',
'http://100.104.132.118:8000',
'http://localhost:8000',
'http://127.0.0.1:8000',
]
# Application definition # Application definition