Files
neural-hunt/internal/controllerui/controllerui.go
groot 47c523dd98
All checks were successful
release-tag / release-image (push) Successful in 3m51s
RC-14
2026-08-14 06:17:30 +02:00

16 lines
205 B
Go

package controllerui
import (
"embed"
"io/fs"
"net/http"
)
//go:embed dist/*
var files embed.FS
func Handler() http.Handler {
sub, _ := fs.Sub(files, "dist")
return http.FileServer(http.FS(sub))
}