mirror of
https://github.com/fankes/beszel.git
synced 2025-10-18 17:29:28 +08:00
16 lines
257 B
Go
16 lines
257 B
Go
// Package site handles the Beszel frontend embedding.
|
|
package site
|
|
|
|
import (
|
|
"embed"
|
|
|
|
"github.com/labstack/echo/v5"
|
|
)
|
|
|
|
//go:embed all:dist
|
|
var assets embed.FS
|
|
|
|
var Dist = echo.MustSubFS(assets, "dist")
|
|
|
|
var Static = echo.MustSubFS(assets, "dist/static")
|