Update server.py
This commit is contained in:
parent
7488e5012d
commit
87141fbb18
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ def relay():
|
||||||
return redirect("/")
|
return redirect("/")
|
||||||
code = "<h1>Something went wrong...</h1>\n"
|
code = "<h1>Something went wrong...</h1>\n"
|
||||||
title = "Something went wrong..."
|
title = "Something went wrong..."
|
||||||
print("GET " + url if url else "" + "?" + queries if queries else "")
|
print("GET " + "gemini://" + url + ("?" + queries if queries != None else ""))
|
||||||
try:
|
try:
|
||||||
gsocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
gsocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||||
fulladdr = "gemini://" + url + ("?" + queries if queries != None else "")
|
fulladdr = "gemini://" + url + ("?" + queries if queries != None else "")
|
||||||
|
|
Loading…
Add table
Reference in a new issue