Update ALLOWED_HOSTS for new server

There's no need for the site to be accessed via IP or it's hostname.
This commit is contained in:
Ben Sturmfels 2023-09-20 12:45:26 +10:00
parent 032acbe781
commit 92e2f38b7a

View file

@ -24,7 +24,7 @@ ROOT_URLCONF = 'conservancy.urls'
FORCE_CANONICAL_HOSTNAME = False if DEBUG else 'sfconservancy.org'
ALLOWED_HOSTS = [ 'www.sfconservancy.org', 'aspen.sfconservancy.org', 'sfconservancy.org', '104.130.70.210' ]
ALLOWED_HOSTS = ['www.sfconservancy.org', 'sfconservancy.org']
if DEBUG:
ALLOWED_HOSTS = ['*']