From b157e3b1877838e275138151b871fc66437ed9b7 Mon Sep 17 00:00:00 2001 From: Johnathan Graydon Date: Sun, 25 Mar 2018 14:58:14 +0100 Subject: [PATCH] Add 127.0.0.1 to Allowed_Hosts for debug --- PyRIGS/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/PyRIGS/settings.py b/PyRIGS/settings.py index ab9a5d66..d1a220f3 100644 --- a/PyRIGS/settings.py +++ b/PyRIGS/settings.py @@ -35,6 +35,7 @@ if STAGING: if DEBUG: ALLOWED_HOSTS.append('localhost') ALLOWED_HOSTS.append('example.com') + ALLOWED_HOSTS.append('127.0.0.1') SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') if not DEBUG: