Added a config hook for secret key into the app. (#1304)

* Added a config hook for secret key into the app.

the server first looks in an environment variable,
then looks in a config file.

For the cellxgene launch app, a default key is used if none is provided.
For the eb app, a secret key must be provided.
This commit is contained in:
bmccandless
2020-03-26 15:03:08 -07:00
committed by GitHub
parent a398f85ccc
commit 8c0480b0bc
5 changed files with 31 additions and 2 deletions
+1
View File
@@ -13,6 +13,7 @@ server:
about_legal_tos: null
about_legal_privacy: null
force_https: false
flask_secret_key: null
presentation:
max_categories: 1000