mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
templates: Replace not_voyager check with dropboxAppKey check.
Also remove useless/confusing value of DROPBOX_APP_KEY in DEFAULT_SETTINGS (it's overridden by the get_secret call anyway).
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<![endif]-->
|
||||
<link href="/static/favicon.ico?v=2" rel="shortcut icon">
|
||||
|
||||
{% if not_voyager %}
|
||||
{% if dropboxAppKey %}
|
||||
<script type="text/javascript">var dropboxAppKey = "{{ dropboxAppKey }}";</script>
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -112,7 +112,6 @@ DEFAULT_SETTINGS = {'TWITTER_CONSUMER_KEY': '',
|
||||
'S3_AVATAR_BUCKET': '',
|
||||
'LOCAL_UPLOADS_DIR': None,
|
||||
'MAX_FILE_UPLOAD_SIZE': 25,
|
||||
'DROPBOX_APP_KEY': '',
|
||||
'ERROR_REPORTING': True,
|
||||
'STAGING_ERROR_NOTIFICATIONS': False,
|
||||
'SAVE_FRONTEND_STACKTRACES': False,
|
||||
|
||||
Reference in New Issue
Block a user