library/frontend/frontend.go
David Ashby 382d3bab61
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
unify frontends
2024-01-01 20:38:42 -05:00

14 lines
149 B
Go

package frontend
import (
"embed"
"io/fs"
)
//go:embed files
var static embed.FS
func Root() (fs.FS, error) {
return fs.Sub(static, "files")
}