From 501d87bfa3f09f9e871dfaf9b2ca61c8626bff53 Mon Sep 17 00:00:00 2001 From: swee Date: Mon, 13 Jan 2025 16:26:11 -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 971b770..5a04a70 100644 --- a/server.py +++ b/server.py @@ -69,7 +69,7 @@ def relay(): else: firstline = False if i.split(" ")[1] != "text/gemini": - return f'\nSomething went wrong...

Something went wrong...

This path returned a file that isn\'t Gemtext, which Gem2Browser doesn\'t support downloading files.

' + return " ".join(received.split("\n")[1:]) else: if i[0:2] == "# ": if title == "Something went wrong...":