Update server.py
This commit is contained in:
parent
d99da841fc
commit
a2a381d2cf
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ def relay():
|
||||||
if title == "Something went wrong...":
|
if title == "Something went wrong...":
|
||||||
title = "gemini://" + url
|
title = "gemini://" + url
|
||||||
except:
|
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>'
|
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
|
# Run the Hypercorn ASGI server
|
||||||
|
|
Loading…
Add table
Reference in a new issue