shiori/internal/webserver/assets-prod.go

20 lines
242 B
Go

//go:build !dev
// +build !dev
package webserver
import (
"io/fs"
"github.com/go-shiori/shiori/internal"
)
var assets fs.FS
func init() {
var err error
assets, err = fs.Sub(internal.Assets, "view")
if err != nil {
panic(err)
}
}