mirror of https://github.com/zulip/zulip.git
Add ZULIP.COM and subdomains to ALLOWED_HOSTS
(imported from commit 94e28b5973f4d83ee4f63dbae7c8def0c36b9160)
This commit is contained in:
parent
f473cb5fbe
commit
b1b2af9b2a
|
@ -21,7 +21,7 @@ if DEBUG:
|
|||
INTERNAL_IPS = ('127.0.0.1',)
|
||||
if DEPLOYED and not TESTING_DEPLOYED:
|
||||
# The IP addresses are for app.humbughq.com and staging.humbughq.com
|
||||
ALLOWED_HOSTS = ['localhost', '.humbughq.com', '54.214.48.144', '54.245.120.64']
|
||||
ALLOWED_HOSTS = ['localhost', '.humbughq.com', '54.214.48.144', '54.245.120.64', '.zulip.com']
|
||||
elif TESTING_DEPLOYED:
|
||||
# Allow any hosts for our test instances, to reduce 500 spam
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
|
Loading…
Reference in New Issue