beszel / src /internal /site /embed.go
cacodex's picture
Deploy Beszel hub with ephemeral Space recovery
3959f31 verified
Raw
History Blame Contribute Delete
281 Bytes
// Package site handles the Beszel frontend embedding.
package site
import (
"embed"
"io/fs"
)
//go:embed all:dist
var distDir embed.FS
// DistDirFS contains the embedded dist directory files (without the "dist" prefix)
var DistDirFS, _ = fs.Sub(distDir, "dist")