Update server.py

This commit is contained in:
Nova Cat 2025-01-12 22:01:13 -08:00
parent 1b996e2599
commit d6a1c6931c

View file

@ -36,8 +36,7 @@ def relay():
raise Exception("Not implemented")
except:
code += traceback.format_exc()
return f'<!DOCTYPE html>\n<html><head><meta charset="UTF-8"><link rel="stylesheet" href="https://swee.codes/style.css"><title>{title}</title></head><body>{code}</body></html>
'
return f'<!DOCTYPE html>\n<html><head><meta charset="UTF-8"><link rel="stylesheet" href="https://swee.codes/style.css"><title>{title}</title></head><body>{code}</body></html>'
# Run the Hypercorn ASGI server
conf = Config()