From bf695f823d9eed2819359a164c9bde9dd1a3f6ea Mon Sep 17 00:00:00 2001 From: Oliver Marks Date: Tue, 23 Jan 2018 07:15:19 +0000 Subject: [PATCH] Add stage to allowed hosts --- config/settings/stage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/settings/stage.py b/config/settings/stage.py index fcf2655..93c1344 100644 --- a/config/settings/stage.py +++ b/config/settings/stage.py @@ -50,7 +50,7 @@ X_FRAME_OPTIONS = 'ALLOW-FROM https://riot.im' # ------------------------------------------------------------------------------ # Hosts/domain names that are valid for this site # See https://docs.djangoproject.com/en/1.6/ref/settings/#allowed-hosts -ALLOWED_HOSTS = env.list('DJANGO_ALLOWED_HOSTS', default=['test.maidstone-hackspace.org.uk']) +ALLOWED_HOSTS = env.list('DJANGO_ALLOWED_HOSTS', default=['test.maidstone-hackspace.org.uk', 'stage.maidstone-hackspace.org.uk']) ALLOWED_HOSTS.append('127.0.0.1') ALLOWED_HOSTS.append('172.18.0.5')