Fix "flask shell" not working on PaaS instances

This is consistent with API [1]. Other apps don't need this as they
follow the Flask convention of it being the "app" module or package.

[1]: https://github.com/alphagov/notifications-api/blob/master/manifest.yml.j2#L112
This commit is contained in:
Ben Thorner
2021-09-07 17:46:55 +01:00
parent b3cc10ac7d
commit e801bacad3

View File

@@ -36,6 +36,7 @@ applications:
env:
NOTIFY_APP_NAME: admin
FLASK_APP: application.py
# Credentials variables
ADMIN_CLIENT_SECRET: '{{ ADMIN_CLIENT_SECRET }}'