feat(webui): implement state versions list
This commit is contained in:
parent
80958d5b0f
commit
26e10a9399
12 changed files with 195 additions and 10 deletions
|
@ -17,6 +17,7 @@ func addRoutes(
|
|||
mux.Handle("POST /login", requireSession(handleLoginPOST(db)))
|
||||
mux.Handle("GET /logout", requireLogin(handleLogoutGET(db)))
|
||||
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 /", requireLogin(handleIndexGET()))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue