Merge branch 'hotfix/allowed-hosts'

This commit is contained in:
Nathan Chapman 2022-05-14 21:35:10 -06:00
commit 9c4e680f19

View File

@ -7,8 +7,14 @@ from .config import *
BASE_DIR = Path(__file__).resolve().parent.parent
# Add Your Required Allow Host
if DEBUG == False:
ALLOWED_HOSTS = ['ptcoffee-dev.windmillapps.org', 'ptcoffee.com', 'www.ptcoffee.com']
if not DEBUG:
ALLOWED_HOSTS = [
'ptcoffee-dev.windmillapps.org',
'ptcoffee.com',
'www.ptcoffee.com',
'porttownsendcoffee.com',
'www.porttownsendcoffee.com',
]
else:
ALLOWED_HOSTS = ['192.168.68.106', '127.0.0.1', 'localhost']