[manual] Change API URLs to be based on api.humbughq.com/api.

This must be deployed after we update our running nginx configuration
to serve api.humbughq.com.

(imported from commit b5c34ebdd595f55eecd6dca6a18a37f105107bd5)
This commit is contained in:
Tim Abbott 2013-06-24 15:48:32 -04:00
parent 360d78e9a2
commit 5e2979b870
8 changed files with 13 additions and 12 deletions

View file

@ -15,7 +15,7 @@ parser.add_option('--verbose',
action='store_true')
parser.add_option('--site',
dest='site',
default="https://humbughq.com",
default="https://api.humbughq.com",
action='store')
parser.add_option('--sharded',
default=False,

View file

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

View file

@ -70,7 +70,7 @@ class RandomExponentialBackoff(CountingBackoff):
print message
time.sleep(delay)
DEFAULT_SITE = "https://humbughq.com"
DEFAULT_SITE = "https://api.humbughq.com"
class States:
Startup, HumbugToZephyr, ZephyrToHumbug, ChildSending = range(4)