From 97b9a37add9bf6b39b690701d18754440ef18e23 Mon Sep 17 00:00:00 2001 From: swee Date: Mon, 13 Jan 2025 20:15:40 -0800 Subject: [PATCH] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index ad5f2c5..e8f10c9 100644 --- a/server.py +++ b/server.py @@ -113,7 +113,7 @@ def relay(): isabs = goto[0] == "/" or goto[0:2] == "//" dubleslash = goto[0:2] == "//" if isabs: - tempurl = urlparse(fulladdr).hostname + "/" + (goto[1:] if dubleslash else goto) + tempurl = urlparse(fulladdr).hostname + (goto[1:] if dubleslash else goto) elif isdir: tempurl = url + goto else: