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}"