blob: 475e7a23f6225939c9c597cbc403dcb6b100d9ac [file] [log] [blame]
//go:build innie
package embedded
import (
"embed"
"io/fs"
)
//go:embed webui-dist
var webUIAssets embed.FS
// LinuxBinary returns the embedded linux binary.
func LinuxBinary() []byte {
return nil
}
// WebUIFS returns the embedded webui filesystem for direct serving
func WebUIFS() fs.FS {
// TODO: can we avoid this fs.Sub somehow?
webuiFS, _ := fs.Sub(webUIAssets, "webui-dist")
return webuiFS
}