feat(webui): bootstrap state version page

This commit is contained in:
Julien Dessaux 2025-01-28 00:30:30 +01:00
parent 26e10a9399
commit 21c8d6601a
Signed by: adyxax
GPG key ID: F92E51B86E07177E
4 changed files with 101 additions and 0 deletions

View file

@ -19,5 +19,6 @@ func addRoutes(
mux.Handle("GET /states", requireLogin(handleStatesGET(db)))
mux.Handle("GET /state/{id}", requireLogin(handleStateGET(db)))
mux.Handle("GET /static/", cache(http.FileServer(http.FS(staticFS))))
mux.Handle("GET /version/{id}", requireLogin(handleVersionGET(db)))
mux.Handle("GET /", requireLogin(handleIndexGET()))
}