aboutsummaryrefslogtreecommitdiff
path: root/wqflask/run_gunicorn.py
diff options
context:
space:
mode:
authorPjotr Prins2018-02-15 10:30:52 +0000
committerPjotr Prins2018-02-15 10:30:52 +0000
commit9d47ad572f46397bdd778d8f6e1c37d40e12aa2a (patch)
treefad90338598a0a6b6589f0106a411f1f37cd22e0 /wqflask/run_gunicorn.py
parentd636315ad629cb56ea3e697924160432f6132792 (diff)
downloadgenenetwork2-9d47ad572f46397bdd778d8f6e1c37d40e12aa2a.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>"