aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newspipe/bootstrap.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/newspipe/bootstrap.py b/newspipe/bootstrap.py
index c353a936..0409906a 100644
--- a/newspipe/bootstrap.py
+++ b/newspipe/bootstrap.py
@@ -74,8 +74,9 @@ set_logging(application.config["LOG_PATH"])
if "PREFIX" in application.config:
#application.wsgi_app = ReverseProxied(application.wsgi_app, script_name=application.config["PREFIX"])
- _app = application
- application = DispatcherMiddleware(None,{str(application.config["PREFIX"]):_app})
+ #_app = application
+ #application = DispatcherMiddleware(None,{str(application.config["PREFIX"]):_app})
+ application.wsgi_app = DispatcherMiddleware(None,{str(application.config["PREFIX"]):application.wsgi_app})
db = SQLAlchemy(application)
bgstack15