mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
remove credstash
This commit is contained in:
7
wsgi.py
7
wsgi.py
@@ -1,11 +1,6 @@
|
||||
from credstash import getAllSecrets
|
||||
from whitenoise import WhiteNoise
|
||||
import os
|
||||
|
||||
# On AWS get secrets and export to env, skip this on Cloud Foundry
|
||||
if os.getenv('VCAP_SERVICES') is None:
|
||||
os.environ.update(getAllSecrets(region="eu-west-1"))
|
||||
|
||||
from app import create_app # noqa
|
||||
|
||||
PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
|
||||
@@ -15,4 +10,4 @@ STATIC_URL = 'static/'
|
||||
application = WhiteNoise(create_app(), STATIC_ROOT, STATIC_URL)
|
||||
|
||||
if __name__ == "__main__":
|
||||
application.run()
|
||||
application.run()
|
||||
|
||||
Reference in New Issue
Block a user