cmd/pkgserver: fix dark mode in test web UI

This commit is contained in:
Kat
2026-03-22 06:14:10 +11:00
parent 96acdd696c
commit 8482b5f2fa

View File

@@ -19,7 +19,7 @@ func serveStaticContent(w http.ResponseWriter, r *http.Request) {
if len(darkTheme) > 0 && darkTheme[0].Value == "true" {
http.ServeFileFS(w, r, content, "ui/static/dark.css")
} else {
http.ServeFileFS(w, r, content, "ui/static/light.css")
http.ServeFileFS(w, r, content, "ui/static/dark.css")
}
case "/favicon.ico":
http.ServeFileFS(w, r, content, "ui/static/favicon.ico")