We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b69d566 + 8dfcf1f commit 71a36ccCopy full SHA for 71a36cc
agagd/agagd/settings/base.py
@@ -9,7 +9,12 @@
9
10
MANAGERS = ADMINS
11
12
-ALLOWED_HOSTS = ['localhost', 'test.agagd.usgo.org', 'agagd.usgo.org', 'a.agagd.usgo.org']
+# Allow only the default ALLOWED_HOSTS ['.localhost', '127.0.0.1', '[::1]'].
13
+ALLOWED_HOSTS = []
14
+
15
+# Only one allowed host is expected here.
16
+if os.getenv('ALLOWED_HOSTS') != None:
17
+ ALLOWED_HOSTS.append(os.getenv('ALLOWED_HOSTS'))
18
19
# Local time zone for this installation. Choices can be found here:
20
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
0 commit comments