mirror of
https://github.com/Lyxminxx/jast.git
synced 2026-10-11 20:57:43 +02:00
fixed csrf
This commit is contained in:
1 parent
45da9a2920
commit
75928c6511
1 file changed
+6
-1
+6
-1
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user