1
0
forked from rosa/hakurei

cmd/pkgserver: add /status endpoint

This commit is contained in:
mae
2026-03-10 04:24:49 -05:00
parent 4ac9c72132
commit 26a346036d
5 changed files with 37 additions and 23 deletions

View File

@@ -50,7 +50,7 @@ func main() {
return err
}
uiRoutes()
apiRoutes(index)
apiRoutes(index, cache)
err = http.ListenAndServe(fmt.Sprintf(":%d", flagPort), nil)
if err != nil {
return err