mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
settings: Make CAMO_KEY Optional.
This ensures that CAMO_KEY is always defined, so that mypy_django_plugin will be able to identify its type. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
committed by
Tim Abbott
parent
544d58a693
commit
448253c009
@@ -570,9 +570,8 @@ if STATSD_HOST != "":
|
||||
# CAMO HTTPS CACHE CONFIGURATION
|
||||
########################################################################
|
||||
|
||||
if CAMO_URI != "":
|
||||
# This needs to be synced with the Camo installation
|
||||
CAMO_KEY = get_secret("camo_key")
|
||||
# This needs to be synced with the Camo installation
|
||||
CAMO_KEY = get_secret("camo_key") if CAMO_URI != "" else None
|
||||
|
||||
########################################################################
|
||||
# STATIC CONTENT AND MINIFICATION SETTINGS
|
||||
|
||||
Reference in New Issue
Block a user