Merge tag 'vallowed-hosts' into develop
1.3.5 vallowed-hosts
This commit is contained in:
commit
af52ac5940
@ -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']
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user