mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-05 14:11:41 -04:00
bump utils to 13.1.0
brings in changes to allow logging json to sdout on cloudfoundry boxes
This commit is contained in:
@@ -77,11 +77,7 @@ def create_app():
|
||||
|
||||
application = Flask(__name__)
|
||||
|
||||
if os.getenv('VCAP_APPLICATION') is not None:
|
||||
vcap_application = json.loads(os.environ.get('VCAP_APPLICATION'))
|
||||
notify_environment = vcap_application['space_name']
|
||||
else:
|
||||
notify_environment = os.environ['NOTIFY_ENVIRONMENT']
|
||||
notify_environment = os.environ['NOTIFY_ENVIRONMENT']
|
||||
|
||||
application.config.from_object(configs[notify_environment])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user