Update server.py
This commit is contained in:
parent
17c266456c
commit
cad796a5f4
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ def relay():
|
||||||
title = "gemini://" + url
|
title = "gemini://" + url
|
||||||
except:
|
except:
|
||||||
code += traceback.format_exc()
|
code += traceback.format_exc()
|
||||||
|
print(code)
|
||||||
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue