mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	settings: Disable KaTeX server in development.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							4a93149435
						
					
				
				
					commit
					7b8fb017c3
				
			@@ -586,14 +586,6 @@ INTERNAL_BOT_DOMAIN = "zulip.com"
 | 
			
		||||
# This needs to be synced with the Camo installation
 | 
			
		||||
CAMO_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
 | 
			
		||||
########################################################################
 | 
			
		||||
 
 | 
			
		||||
@@ -189,6 +189,8 @@ BOT_CONFIG_SIZE_LIMIT = 10000
 | 
			
		||||
 | 
			
		||||
# External service configuration
 | 
			
		||||
CAMO_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"
 | 
			
		||||
 
 | 
			
		||||
@@ -79,6 +79,7 @@ STAFF_SUBDOMAIN = "zulip"
 | 
			
		||||
EXTRA_INSTALLED_APPS = ["zilencer", "analytics", "corporate"]
 | 
			
		||||
# Disable Camo in development
 | 
			
		||||
CAMO_URI = ""
 | 
			
		||||
KATEX_SERVER = False
 | 
			
		||||
 | 
			
		||||
TORNADO_PORTS = [9993]
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user