Fix incorrect redirection URL after authentication by removing fixed value set to SCRIPT_NAME environment variable in pgAdmin4.wsgi file.#5454

This commit is contained in:
Yogesh Mahajan
2023-08-03 09:18:43 +05:30
committed by GitHub
parent 0f86b78d87
commit e8fdf04e97

View File

@@ -13,8 +13,6 @@ import sys
if sys.version_info < (3, 4):
raise Exception('This application must be run under Python 3.4 or later.')
os.environ['SCRIPT_NAME'] = '/pgadmin4'
import builtins
root = os.path.dirname(os.path.realpath(__file__))