traefik/webui/embed.go

15 lines
213 B
Go
Raw Permalink Normal View History

package webui
import (
"embed"
"io/fs"
)
2024-09-27 13:22:04 +00:00
// Files starting with . and _ are excluded by default
//
//go:embed static
var assets embed.FS
// FS contains the web UI assets.
var FS, _ = fs.Sub(assets, "static")