feat(webui): implement states list
This commit is contained in:
parent
7885b19b54
commit
09885ef1e4
10 changed files with 117 additions and 12 deletions
|
@ -16,6 +16,7 @@ func addRoutes(
|
|||
mux.Handle("GET /login", requireSession(handleLoginGET()))
|
||||
mux.Handle("POST /login", requireSession(handleLoginPOST(db)))
|
||||
mux.Handle("GET /logout", requireLogin(handleLogoutGET(db)))
|
||||
mux.Handle("GET /states", requireLogin(handleStatesGET(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