This commit is contained in:
manetta 2022-03-10 17:55:52 +01:00
parent 0a60da6fea
commit 58f4cda11a

View File

@ -37,7 +37,7 @@ class PrefixMiddleware(object):
start_response('404', [('Content-Type', 'text/plain')])
return ["This url does not belong to the app.".encode()]
APP.wsgi_app = PrefixMiddleware(app.wsgi_app, prefix=APP.config['APPLICATION_ROOT'])
APP.wsgi_app = PrefixMiddleware(APP.wsgi_app, prefix=APP.config['APPLICATION_ROOT'])
# ---