bump utils to 13.10.0

pass in the base URL - if not set in the environment this is set to
localhost, but on paas we can pull this out of vcap_services so that
letters render properly on paas
This commit is contained in:
Leo Hemsted
2017-03-27 17:59:06 +01:00
parent 89e429f745
commit 85404f20db
6 changed files with 20 additions and 2 deletions

View File

@@ -17,6 +17,9 @@ class Config(object):
DESKPRO_API_HOST = os.environ['DESKPRO_API_HOST']
DESKPRO_API_KEY = os.environ['DESKPRO_API_KEY']
# if we're not on cloudfoundry, we can get to this app from localhost. but on cloudfoundry its different
ADMIN_BASE_URL = os.environ.get('ADMIN_BASE_URL', 'https://localhost:6012')
# Hosted graphite statsd prefix
STATSD_PREFIX = os.getenv('STATSD_PREFIX')