[manual] Use api.zulip.com to access the Humbug API.

This needs to be deployed after the nginx configuration is deployed.

(imported from commit 167a3d9d27595d40883bb400ebcc44c4ad9b6a2f)
This commit is contained in:
Tim Abbott 2013-07-24 17:53:39 -04:00
parent d063efa8a0
commit 22e5a15bc4
10 changed files with 14 additions and 18 deletions

View file

@ -36,12 +36,12 @@ prod_client = humbug.Client(
email="feedback@zulip.com",
api_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
verbose=True,
site="https://api.humbughq.com")
site="https://api.zulip.com")
staging_client = humbug.Client(
email="feedback@zulip.com",
api_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
verbose=True,
site="https://staging.humbughq.com/api")
site="https://staging.zulip.com/api")
def forward_message(message):
if message["type"] != "private" or len(message["display_recipient"]) != 2: