Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Disable KaTeX server in development.
Anders Kaseorg7b8fb017c34d
diff --git a/zproject/computed_settings.py b/zproject/computed_settings.pyindex be9114a40b7..afd5aae82a9 100644--- a/zproject/computed_settings.py+++ b/zproject/computed_settings.py@@ -586,14 +586,6 @@ INTERNAL_BOT_DOMAIN = "zulip.com"# This needs to be synced with the Camo installationCAMO_KEY = get_secret("camo_key") if CAMO_URI != "" else None-########################################################################-# KATEX SERVER SETTINGS-########################################################################--KATEX_SERVER = get_config("application_server", "katex_server", True)-KATEX_SERVER_PORT = get_config("application_server", "katex_server_port", "9700")--######################################################################### STATIC CONTENT AND MINIFICATION SETTINGS########################################################################diff --git a/zproject/default_settings.py b/zproject/default_settings.pyindex 267bde45310..815f81f9f13 100644--- a/zproject/default_settings.py+++ b/zproject/default_settings.py@@ -189,6 +189,8 @@ BOT_CONFIG_SIZE_LIMIT = 10000# External service configurationCAMO_URI = ""+KATEX_SERVER = get_config("application_server", "katex_server", True)+KATEX_SERVER_PORT = get_config("application_server", "katex_server_port", "9700")MEMCACHED_LOCATION = "127.0.0.1:11211"MEMCACHED_USERNAME = None if get_secret("memcached_password") is None else "zulip@localhost"RABBITMQ_HOST = "127.0.0.1"diff --git a/zproject/dev_settings.py b/zproject/dev_settings.pyindex d92e8773a60..e2b8d3878b1 100644--- a/zproject/dev_settings.py+++ b/zproject/dev_settings.py@@ -79,6 +79,7 @@ STAFF_SUBDOMAIN = "zulip"EXTRA_INSTALLED_APPS = ["zilencer", "analytics", "corporate"]# Disable Camo in developmentCAMO_URI = ""+KATEX_SERVER = FalseTORNADO_PORTS = [9993]