Update server.py

This commit is contained in:
Nova Cat 2025-01-13 22:11:26 -08:00
parent 7488e5012d
commit 87141fbb18

View file

@ -25,7 +25,7 @@ def relay():
return redirect("/")
code = "<h1>Something went wrong...</h1>\n"
title = "Something went wrong..."
print("GET " + url if url else "" + "?" + queries if queries else "")
print("GET " + "gemini://" + url + ("?" + queries if queries != None else ""))
try:
gsocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
fulladdr = "gemini://" + url + ("?" + queries if queries != None else "")