Add prod domains to ALLOWED_HOSTS
This commit is contained in:
parent
004f98f0a8
commit
5c517ed41f
|
@ -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 += [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user