diff --git a/hbd/http.py b/hbd/http.py index d1e2e12..1c8c635 100644 --- a/hbd/http.py +++ b/hbd/http.py @@ -131,13 +131,6 @@ async def start( out.append(f"update started for {n}: {err if err else 'OK'}") return web.Response(text="\n".join(out)) - async def restart(request): - # signal main application to perform restart if needed - # not implemented here - return OK - if log: - log(None, "restart request") - return web.Response(text="restart request") - async def live(request): # render template from hbd/templates/live.html using Jinja2 # Resolve templates directory relative to the hbd package @@ -200,7 +193,6 @@ async def start( web.get("/d", drop), web.get("/n", register), web.get("/u", update), - web.get("/r", restart), web.get("/live", live), web.get("/static/{path:.*}", static), web.get("/favicon.ico", favicon),