Update server.py

This commit is contained in:
Nova Cat 2025-01-13 22:10:56 -08:00
parent 1f00b41dd5
commit 7488e5012d

View file

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