mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +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
|
# CAMO HTTPS CACHE CONFIGURATION
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
||||||
if CAMO_URI != "":
|
# This needs to be synced with the Camo installation
|
||||||
# This needs to be synced with the Camo installation
|
CAMO_KEY = get_secret("camo_key") if CAMO_URI != "" else None
|
||||||
CAMO_KEY = get_secret("camo_key")
|
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# STATIC CONTENT AND MINIFICATION SETTINGS
|
# STATIC CONTENT AND MINIFICATION SETTINGS
|
||||||
|
|||||||
Reference in New Issue
Block a user