mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Live was set to debug mode
This commit is contained in:
@@ -25,7 +25,7 @@ admin_api_client = AdminAPIClient()
|
||||
def create_app(config_name):
|
||||
application = Flask(__name__)
|
||||
|
||||
application.config['NOTIFY_API_ENVIRONMENT'] = config_name
|
||||
application.config['NOTIFY_ADMIN_ENVIRONMENT'] = config_name
|
||||
application.config.from_object(configs[config_name])
|
||||
if 'FLASK_CONFIG' in os.environ:
|
||||
application.config.from_envvar('FLASK_CONFIG')
|
||||
|
||||
Reference in New Issue
Block a user