diff --git a/main.py b/main.py index a00eb19..448e033 100644 --- a/main.py +++ b/main.py @@ -92,3 +92,19 @@ async def fromradio(all: TFStr="false"): elif len(bufs) > 0: content = bufs.pop(0) return Response(content=content, media_type="application/x-protobuf") + +@app.get("/index.html") +async def index(): + html_content = """ + + + + Meshtastic HTTP Proxy + + +

Welcome to the Meshtastic HTTP Proxy

+

More information is available here: https://github.com/ianmcorvidae/meshtastic-http-proxy

+ + + """ + return HTMLResponse(content=html_content, status_code=200)