Skip to content
Snippets Groups Projects
Commit 4982e4b6 authored by HeJ's avatar HeJ
Browse files

dev settings: add 127.0.0.1 as allowed host, too

parent cc0f037d
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ if dev_env('SERVE_DEBUGPY'): ...@@ -29,7 +29,7 @@ if dev_env('SERVE_DEBUGPY'):
os.environ.setdefault('DJANGO_DEBUG', 'I_KNOW_WHAT_I_AM_DOING') os.environ.setdefault('DJANGO_DEBUG', 'I_KNOW_WHAT_I_AM_DOING')
# set default ALLOWED_HOSTS # set default ALLOWED_HOSTS
os.environ.setdefault('ALLOWED_HOSTS', 'localhost') os.environ.setdefault('ALLOWED_HOSTS', 'localhost,127.0.0.1')
# set PLAINUI link options # set PLAINUI link options
os.environ.setdefault('PLAINUI_BASE_URL', 'http://127.0.0.1:8000') os.environ.setdefault('PLAINUI_BASE_URL', 'http://127.0.0.1:8000')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment