mirror of
https://github.com/go-shiori/shiori.git
synced 2025-01-16 04:48:30 +08:00
20 lines
242 B
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)
|
|
}
|
|
}
|