mirror of
https://github.com/fankes/beszel.git
synced 2025-10-19 09:49:28 +08:00
18 lines
219 B
Go
18 lines
219 B
Go
package site
|
|
|
|
import (
|
|
"embed"
|
|
"io/fs"
|
|
)
|
|
|
|
//go:embed all:dist
|
|
var assets embed.FS
|
|
|
|
func Assets() (fs.FS, error) {
|
|
return fs.Sub(assets, "dist")
|
|
}
|
|
|
|
func Icons() (fs.FS, error) {
|
|
return fs.Sub(assets, "dist/icons")
|
|
}
|