add trusted origins
This commit is contained in:
@@ -26,6 +26,7 @@ SECRET_KEY = os.getenv("DJANGO_SECRET_KEY")
|
|||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = False
|
DEBUG = False
|
||||||
|
|
||||||
|
CSRF_TRUSTED_ORIGINS = ["https://app.saccada.xyz"]
|
||||||
ALLOWED_HOSTS = ["localhost", "app.saccada.xyz"]
|
ALLOWED_HOSTS = ["localhost", "app.saccada.xyz"]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user