From d8af49a62b45b7b5459cab9b59f617bcd16776af Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 15 Jan 2025 15:40:32 -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 bc95000..d2deba7 100644 --- a/server.py +++ b/server.py @@ -209,7 +209,7 @@ def relay(): isquery=False isabs=False isdir=True - goto = f"/{goto}" if goto[0] != / else goto + goto = f"/{goto}" if goto[0] != "/" else goto if isquery: tempurl = url qury = goto[1:]