From d9a5bc806e53a602f9afd7febd24c1acf3b93d28 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Wed, 16 Aug 2017 21:49:10 +0200 Subject: 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. --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3