Fix pgAdmin4 failed to start issue after upgrading to version 4.15. Fixes #4978

This commit is contained in:
Aditya Toshniwal
2019-12-02 11:40:48 +05:30
committed by Akshay Joshi
parent d98e86d3df
commit c4facc04d3
2 changed files with 2 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ if not os.path.isfile(config.SQLITE_PATH):
##########################################################################
class ReverseProxied(object):
def __init__(self, app):
self.app = app
# https://werkzeug.palletsprojects.com/en/0.15.x/middleware/proxy_fix/#module-werkzeug.middleware.proxy_fix
try:
from werkzeug.middleware.proxy_fix import ProxyFix