Update server.py
This commit is contained in:
parent
1b996e2599
commit
d6a1c6931c
1 changed files with 1 additions and 2 deletions
|
@ -36,8 +36,7 @@ def relay():
|
||||||
raise Exception("Not implemented")
|
raise Exception("Not implemented")
|
||||||
except:
|
except:
|
||||||
code += traceback.format_exc()
|
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
|
# Run the Hypercorn ASGI server
|
||||||
conf = Config()
|
conf = Config()
|
||||||
|
|
Loading…
Add table
Reference in a new issue