Update server.py

This commit is contained in:
Nova Cat 2025-01-13 22:10:09 -08:00
parent 957c95e378
commit 1f00b41dd5

View file

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