diff --git a/server.py b/server.py index c608954..9f13c19 100644 --- a/server.py +++ b/server.py @@ -56,7 +56,7 @@ def relay(): for i in received.split("\n"): if firstline: if i.split(" ")[0][0] == "3": - return redirect("/gem?gemini=" + i.split(" ")[1]) + return redirect("/gem?gemini=" + i.split(" ")[1][9:]) elif i.split(" ")[0][0] != "2": return f'\n
The specified Gemini server returned a status of: {i}
' else: