mirror of https://github.com/zulip/zulip.git
Fix send_to_prod redirect to not run on the Dev VM.
(imported from commit 6006c71348706d39740b0d6302df0a548e65b65e)
This commit is contained in:
parent
46e224997e
commit
f792b67098
|
@ -1103,7 +1103,7 @@ def home(request):
|
|||
|
||||
# Warn users on the zulip.com realm to use staging.
|
||||
send_to_prod = False
|
||||
if page_params['domain'] == "zulip.com" and page_params['staging']:
|
||||
if page_params['domain'] == "zulip.com" and settings.STAGING_DEPLOYED:
|
||||
send_to_prod = True
|
||||
|
||||
dbx_branding = False
|
||||
|
|
Loading…
Reference in New Issue