aboutsummaryrefslogtreecommitdiff
path: root/wqflask/run_gunicorn.py
diff options
context:
space:
mode:
authorPjotr Prins2018-02-15 10:30:52 +0000
committerPjotr Prins2018-03-26 09:29:29 +0000
commit3de1ecfa37b73b4cb011b634c8b4afc2362f858c (patch)
tree43c3478a7f45d966a1b73a008ebfe107aeabbd1a /wqflask/run_gunicorn.py
parent11577cd84db5d7cc9cf10c2178d1f782a9809260 (diff)
downloadgenenetwork2-3de1ecfa37b73b4cb011b634c8b4afc2362f858c.tar.gz
Fixing authentication stuff so it uses parameters properly. Also no PYTHONPATH needed as
it is now in the Guix build.
Diffstat (limited to 'wqflask/run_gunicorn.py')
-rw-r--r--wqflask/run_gunicorn.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/wqflask/run_gunicorn.py b/wqflask/run_gunicorn.py
index 14a2d689..ebe3add5 100644
--- a/wqflask/run_gunicorn.py
+++ b/wqflask/run_gunicorn.py
@@ -11,6 +11,9 @@ print "Starting up Gunicorn process"
from wqflask import app
+app.config['SESSION_TYPE'] = 'filesystem'
+app.config['SECRET_KEY'] = 'super secret key'
+
@app.route("/gunicorn")
def hello():
return "<h1 style='color:blue'>Hello There!</h1>"