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)) }