add CSRF_TRUSTED_ORIGINS to settings and update .env.example
This commit is contained in:
@@ -6,4 +6,5 @@ DEBUG=False
|
||||
|
||||
SECRET_KEY=your-secret-key
|
||||
ALLOWED_HOSTS=localhost,127.0.0.1
|
||||
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
|
||||
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
|
||||
CSRF_TRUSTED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
|
Reference in New Issue
Block a user