From af78c79e9dc61a8fa991b11045acf564aa59815b Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 15 Jan 2025 15:39:57 -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 cf492a2..bc95000 100644 --- a/server.py +++ b/server.py @@ -205,7 +205,7 @@ def relay(): isabs = goto[0] == "/" or goto[0:2] == "//" isquery = goto[0] == "?" dubleslash = goto[0:2] == "//" - if url = urlparse(fulladdr).hostname: + if url == urlparse(fulladdr).hostname: isquery=False isabs=False isdir=True