mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-16 18:26:16 +01:00
14 lines
268 B
Go
14 lines
268 B
Go
// 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")
|