From d99da841fcb6a3b30711b7c1407f8a87a344ca74 Mon Sep 17 00:00:00 2001 From: swee Date: Mon, 13 Jan 2025 16:22:55 -0800 Subject: [PATCH] Update server.py --- server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index 12265a5..81a46cf 100644 --- a/server.py +++ b/server.py @@ -100,11 +100,11 @@ def relay(): tempurl = "/".join(url.split("/")[:-1]) + "/" + goto goto = f"/gem?gemini={tempurl}" elif prse.scheme != "gemini": - extra = "" + extra = "" extracomment = f"This link points to an address that isn't gemini ({prse.scheme})" else: if prse.hostname != urlparse(fulladdr).hostname: - extra = "" + extra = "" extracomment = f"This link points to an address that isn't from the server you're currently connecting to ({prse.hostname})" goto = goto.replace("gemini://", "") goto = f"/gem?gemini={goto}"