Skip to content

The only tool you need to know what is happening and how to fix it.

197 B
Raw Blame
//go:build !localdist

package static

import (
	"embed"
	"io/fs"
)

//go:embed all:frontend
var staticFiles embed.FS

func GetStaticFS() (fs.FS, error) {
	return fs.Sub(staticFiles, "frontend")
}