summaryrefslogtreecommitdiff
path: root/run.py
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2017-08-16 21:49:10 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2017-08-16 21:49:10 +0200
commitd9a5bc806e53a602f9afd7febd24c1acf3b93d28 (patch)
tree6b6d2a3788181ba69a9206a1b054cf0d074ab814 /run.py
parentf5dcf75075c013bbfdf9cdb6716afee777620c73 (diff)
Run debug app with threads to avoid hanging.
For some reason chrome sometimes does two requests on redirect, where the first in unused, causing the second to hang because we only process one request at a time.
Diffstat (limited to 'run.py')
-rw-r--r--run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.py b/run.py
index bb20417..666e709 100644
--- a/run.py
+++ b/run.py
@@ -1,4 +1,4 @@
from fbin import app
if __name__ == '__main__':
- app.run(debug = True, host = '::1')
+ app.run(debug = True, host = '::1', threaded = True)