Update server.py
This commit is contained in:
parent
5fd8cc29d2
commit
13900e6fe0
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ def relay():
|
||||||
gemtext = True
|
gemtext = True
|
||||||
code = ""
|
code = ""
|
||||||
for i in received.split("\n"):
|
for i in received.split("\n"):
|
||||||
|
i = i.replace("<", "<").replace("<", ">")
|
||||||
if firstline:
|
if firstline:
|
||||||
if i.split(" ")[0][0] == "3":
|
if i.split(" ")[0][0] == "3":
|
||||||
return redirect("/gem?gemini=" + i.split(" ")[1][9:])
|
return redirect("/gem?gemini=" + i.split(" ")[1][9:])
|
||||||
|
|
Loading…
Add table
Reference in a new issue