Update server.py
This commit is contained in:
parent
4af4a02395
commit
17c266456c
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,6 @@ def relay():
|
|||
gemtext = True
|
||||
code = ""
|
||||
for i in received.split("\n"):
|
||||
print(i)
|
||||
if firstline:
|
||||
if i.split(" ")[0][0] == "3":
|
||||
return redirect("/gem?gemini=" + i.split(" ")[1][9:])
|
||||
|
@ -81,6 +80,7 @@ def relay():
|
|||
code += f"<ul><li>{temp}</li></ul>"
|
||||
else:
|
||||
code += f"<p>{code}</p>\n"
|
||||
print(i)
|
||||
if title == "Something went wrong...":
|
||||
title = "gemini://" + url
|
||||
except:
|
||||
|
|
Loading…
Add table
Reference in a new issue