Update server.py
This commit is contained in:
parent
22650e56f7
commit
4af4a02395
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ def relay():
|
||||||
gemtext = True
|
gemtext = True
|
||||||
code = ""
|
code = ""
|
||||||
for i in received.split("\n"):
|
for i in received.split("\n"):
|
||||||
|
print(i)
|
||||||
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