Remove a remaining rebug print() statement
This commit is contained in:
@@ -115,7 +115,6 @@ class PrefixMiddleware(object):
|
|||||||
self.app = app
|
self.app = app
|
||||||
|
|
||||||
def __call__(self, environ, start_response):
|
def __call__(self, environ, start_response):
|
||||||
print(environ)
|
|
||||||
prefix = environ.get('HTTP_X_FORWARDED_PREFIX', '')
|
prefix = environ.get('HTTP_X_FORWARDED_PREFIX', '')
|
||||||
if prefix:
|
if prefix:
|
||||||
environ['SCRIPT_NAME'] = prefix
|
environ['SCRIPT_NAME'] = prefix
|
||||||
|
|||||||
Reference in New Issue
Block a user