Set FEEDBACK_TARGET for enterprise case.

(imported from commit 478033bf3eefb8406d93fb2f0225420812dee7b0)
This commit is contained in:
Luke Faraone
2013-11-12 17:37:00 -05:00
committed by Tim Abbott
parent cb9931110f
commit a7237938c8
2 changed files with 5 additions and 5 deletions

View File

@@ -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"

View File

@@ -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/'