Update server.py

This commit is contained in:
Nova Cat 2025-01-13 16:24:58 -08:00
parent d99da841fc
commit a2a381d2cf

View file

@ -120,7 +120,7 @@ def relay():
if title == "Something went wrong...":
title = "gemini://" + url
except:
code += traceback.format_exc()
code += "<pre>" + traceback.format_exc() + "</pre>"
return f'<!DOCTYPE html>\n<html><head><meta charset="UTF-8"><link rel="stylesheet" href="/style.css"><title>{title}</title></head><body>{code}</body></html>'
# Run the Hypercorn ASGI server