Text data moved to build directory
This commit is contained in:
parent
5d44ff33ff
commit
26e3a1bbe6
@ -13,7 +13,7 @@ var Text struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
box := packr.NewBox("../static/text")
|
box := packr.NewBox("../build/text")
|
||||||
if about, err := box.MustString("about"); err == nil {
|
if about, err := box.MustString("about"); err == nil {
|
||||||
Text.BlockbookAbout = strings.TrimSpace(about)
|
Text.BlockbookAbout = strings.TrimSpace(about)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user