Add prod domains to ALLOWED_HOSTS

This commit is contained in:
Tanner Collin 2020-02-02 03:56:56 +00:00
parent 004f98f0a8
commit 5c517ed41f

View File

@ -29,7 +29,11 @@ DEBUG = DEBUG_ENV or False
if DEBUG: print('Debug mode ON') if DEBUG: print('Debug mode ON')
# production hosts # production hosts
ALLOWED_HOSTS = [] ALLOWED_HOSTS = [
'api.spaceport-prod.dns.t0.vc',
'api.spaceport.protospace.ca',
'api.my.protospace.ca',
]
if DEBUG: if DEBUG:
ALLOWED_HOSTS += [ ALLOWED_HOSTS += [