Update server.py

This commit is contained in:
Nova Cat 2025-01-13 18:30:41 -08:00
parent 5fd8cc29d2
commit 13900e6fe0

View file

@ -64,6 +64,7 @@ def relay():
gemtext = True
code = ""
for i in received.split("\n"):
i = i.replace("<", "&lt;").replace("<", "&gt;")
if firstline:
if i.split(" ")[0][0] == "3":
return redirect("/gem?gemini=" + i.split(" ")[1][9:])