Skip to content
Snippets Groups Projects
Commit 893f58c9 authored by Jonas Braathen's avatar Jonas Braathen
Browse files

Add CSRF_TRUSTED_ORIGINS to development settings

parent d041670d
No related branches found
No related tags found
1 merge request!215Add CSRF_TRUSTED_ORIGINS to development settings
Pipeline #104882 failed
......@@ -5,6 +5,13 @@ from .base import *
ENVIRONMENT = "dev"
ALLOWED_HOSTS += ["localhost", "127.0.0.1", "0.0.0.0"]
CSRF_TRUSTED_ORIGINS = [
"http://localhost:3000",
"http://localhost:8000",
"http://127.0.0.1:3000",
"http://127.0.0.1:8000",
]
# EMAIL_HOST = "smtp.uio.no"
# EMAIL_PORT = "468"
# EMAIL_USE_SSL = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment