refactor: extract metrics-collector from fission-console, bump console to v1.3.12

This commit is contained in:
Naeel
2026-04-29 10:17:09 +03:00
parent abcd6bad36
commit df8bf0d476
10 changed files with 331 additions and 218 deletions
-16
View File
@@ -1,16 +0,0 @@
package ui
import (
_ "embed"
"net/http"
)
//go:embed cron.html
var cronPage string
func CronHandler() http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
w.Header().Set("Content-Type", "text/html; charset=utf-8")
_, _ = w.Write([]byte(cronPage))
})
}