fix charts
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-01-14 11:14:46 +11:00
parent 5c34a9eacd
commit 013ae4568e
3 changed files with 31 additions and 33 deletions

View File

@@ -1,15 +1,11 @@
package handler
import (
"context"
"log/slog"
"net/http"
"vctp/db"
"vctp/internal/secrets"
"vctp/internal/settings"
"vctp/internal/vcenter"
"github.com/a-h/templ"
)
// Handler handles requests.
@@ -24,6 +20,7 @@ type Handler struct {
Settings *settings.Settings
}
/*
func (h *Handler) html(ctx context.Context, w http.ResponseWriter, status int, t templ.Component) {
w.Header().Set("Content-Type", "text/html; charset=utf-8")
w.WriteHeader(status)
@@ -32,3 +29,4 @@ func (h *Handler) html(ctx context.Context, w http.ResponseWriter, status int, t
h.Logger.Error("Failed to render component", "error", err)
}
}
*/