Update server.py
All checks were successful
Test web app / check (push) Successful in 38s

This commit is contained in:
Nova Cat 2025-01-19 11:46:19 -08:00
parent 5f99a590a2
commit 1e11dcd447

View file

@ -258,4 +258,8 @@ def relay():
title = "gemini://" + url
except:
code += "<pre>" + traceback.format_exc() + "</pre>"
return f'<!DOCTYPE html>\n<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><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"><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="stylesheet" href="/style.css"><title>{title}</title></head><body>{code}</body></html>'
if __name__ == '__main__':
# run() method of Flask class runs the application
# on the local development server.
app.run(host='127.0.0.1',port=2009)