mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Set FEEDBACK_TARGET for enterprise case.
(imported from commit 478033bf3eefb8406d93fb2f0225420812dee7b0)
This commit is contained in:
		@@ -74,11 +74,6 @@ else:
 | 
			
		||||
 | 
			
		||||
EMBEDLY_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
			
		||||
 | 
			
		||||
if DEPLOYED:
 | 
			
		||||
    FEEDBACK_TARGET="https://staging.zulip.com/api"
 | 
			
		||||
else:
 | 
			
		||||
    FEEDBACK_TARGET="http://localhost:9991/api"
 | 
			
		||||
 | 
			
		||||
# For now, ENTERPRISE is only testing, so write to our test buckets
 | 
			
		||||
if DEPLOYED and not ENTERPRISE:
 | 
			
		||||
    S3_KEY="xxxxxxxxxxxxxxxxxxxx"
 | 
			
		||||
 
 | 
			
		||||
@@ -291,6 +291,11 @@ for bot in REALM_BOTS:
 | 
			
		||||
if EMAIL_GATEWAY_BOT not in API_SUPER_USERS:
 | 
			
		||||
    API_SUPER_USERS.add(EMAIL_GATEWAY_BOT)
 | 
			
		||||
 | 
			
		||||
if DEPLOYED:
 | 
			
		||||
    FEEDBACK_TARGET="https://staging.zulip.com/api"
 | 
			
		||||
else:
 | 
			
		||||
    FEEDBACK_TARGET="http://localhost:9991/api"
 | 
			
		||||
 | 
			
		||||
# Static files and minification
 | 
			
		||||
 | 
			
		||||
STATIC_URL = '/static/'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user