cmd/pkgserver: search endpoint

This commit is contained in:
mae
2026-03-13 20:32:19 -05:00
parent 06a74e69d7
commit 671124fa3b
5 changed files with 134 additions and 9 deletions

View File

@@ -21,13 +21,10 @@ func serveStaticContent(w http.ResponseWriter, r *http.Request) {
} else {
http.ServeFileFS(w, r, content, "ui/static/light.css")
}
break
case "/favicon.ico":
http.ServeFileFS(w, r, content, "ui/static/favicon.ico")
break
case "/static/index.js":
http.ServeFileFS(w, r, content, "ui/static/index.js")
break
default:
http.NotFound(w, r)