Fixed CSRF problem

This commit is contained in:
SejiL 2022-06-07 10:39:23 +04:30
parent 61a3afbb3b
commit 26fd76670e
2 changed files with 4 additions and 1 deletions

1
env/netbox.env vendored
View file

@ -1,4 +1,5 @@
CORS_ORIGIN_ALLOW_ALL=True
CSRF_TRUSTED_ORIGINS=http://netbox.example.com/*
DB_HOST=postgres
DB_NAME=netbox
DB_PASSWORD=J5brHrAXFLQSif0K