Browse Source

add CSRF localhost

blezz-tech 23 hours ago
parent
commit
32d156fdd4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .env.example

+ 1 - 1
.env.example

@@ -6,7 +6,7 @@
 
 DEBUG=True
 SECRET_KEY='django-insecure-$eodx2ilnb*djkahfguiwegbwelgbnajl*u$qkt7j-b)7t1iq'
-CSRF_TRUSTED_ORIGINS=
+CSRF_TRUSTED_ORIGINS=localhost
 ALLOWED_HOSTS=127.0.0.1
 INTERNAL_IPS=127.0.0.1
 NAME_SYSTEM=ShariX