mirror of
https://github.com/XShengTech/MEGREZ.git
synced 2026-09-28 13:17:23 +00:00
15 lines
166 B
Go
15 lines
166 B
Go
package index
|
|
|
|
import (
|
|
"embed"
|
|
"io/fs"
|
|
)
|
|
|
|
//go:embed web
|
|
var assets embed.FS
|
|
|
|
func GetWebFS() fs.FS {
|
|
serverRoot, _ := fs.Sub(assets, "web")
|
|
return serverRoot
|
|
}
|