mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 10:48:26 -04:00
ensure flask app has right name
This commit is contained in:
5
wsgi.py
5
wsgi.py
@@ -9,9 +9,6 @@ PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
|
|||||||
STATIC_ROOT = os.path.join(PROJECT_ROOT, 'app', 'static')
|
STATIC_ROOT = os.path.join(PROJECT_ROOT, 'app', 'static')
|
||||||
STATIC_URL = 'static/'
|
STATIC_URL = 'static/'
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask('app')
|
||||||
create_app(app)
|
create_app(app)
|
||||||
application = WhiteNoise(app, STATIC_ROOT, STATIC_URL)
|
application = WhiteNoise(app, STATIC_ROOT, STATIC_URL)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
application.run()
|
|
||||||
|
|||||||
Reference in New Issue
Block a user