Update server.py
This commit is contained in:
parent
957c95e378
commit
1f00b41dd5
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +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 + "?" + queries)
|
||||||
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