traefik/webui/embed.go
2024-09-27 15:22:04 +02:00

14 lines
213 B
Go

package webui
import (
"embed"
"io/fs"
)
// 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")