mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
14 lines
327 B
Python
14 lines
327 B
Python
from flask import Flask
|
|
|
|
|
|
def create_app():
|
|
application = Flask(__name__)
|
|
|
|
# application.config['NOTIFY_API_ENVIRONMENT'] = config_name
|
|
# application.config.from_object(configs[config_name])
|
|
from app.main import main as main_blueprint
|
|
application.register_blueprint(main_blueprint)
|
|
|
|
return application
|
|
|