|
@ -37,7 +37,7 @@ class PrefixMiddleware(object): |
|
|
start_response('404', [('Content-Type', 'text/plain')]) |
|
|
start_response('404', [('Content-Type', 'text/plain')]) |
|
|
return ["This url does not belong to the app.".encode()] |
|
|
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']) |
|
|
|
|
|
|
|
|
# --- |
|
|
# --- |
|
|
|
|
|
|
|
|