0
0
mirror of https://github.com/rls-moe/nyx synced 2024-12-24 12:17:16 +00:00

Resource Fixes

This commit is contained in:
Tim Schuster 2017-03-15 14:39:57 +01:00
parent bc23a66bb0
commit e5cdbe7211
No known key found for this signature in database
GPG Key ID: F9E27097EFB77F61
14 changed files with 9 additions and 9 deletions

View File

@ -19,7 +19,7 @@ var (
func LoadTemplates() error {
var err error
box, err := rice.FindBox("res/")
box, err := rice.FindBox("admin_res/")
if err != nil {
panic(err)
}

View File

@ -40,8 +40,8 @@ func init() {
dir1.ChildDirs = []*embedded.EmbeddedDir{}
// register embeddedBox
embedded.RegisterEmbeddedBox(`res/`, &embedded.EmbeddedBox{
Name: `res/`,
embedded.RegisterEmbeddedBox(`admin_res/`, &embedded.EmbeddedBox{
Name: `admin_res/`,
Time: time.Unix(1489566364, 0),
Dirs: map[string]*embedded.EmbeddedDir{
"": dir1,

View File

@ -48,7 +48,7 @@ var (
)
func LoadTemplates() error {
box, err := rice.FindBox("res/")
box, err := rice.FindBox("board_res/")
if err != nil {
return err
}

View File

@ -46,8 +46,8 @@ func init() {
dir1.ChildDirs = []*embedded.EmbeddedDir{}
// register embeddedBox
embedded.RegisterEmbeddedBox(`res/`, &embedded.EmbeddedBox{
Name: `res/`,
embedded.RegisterEmbeddedBox(`board_res/`, &embedded.EmbeddedBox{
Name: `board_res/`,
Time: time.Unix(1489566591, 0),
Dirs: map[string]*embedded.EmbeddedDir{
"": dir1,

View File

@ -14,7 +14,7 @@ var (
)
func LoadTemplates() error {
box, err := rice.FindBox("res/")
box, err := rice.FindBox("errw_res/")
if err != nil {
return err
}

View File

@ -28,8 +28,8 @@ func init() {
dir1.ChildDirs = []*embedded.EmbeddedDir{}
// register embeddedBox
embedded.RegisterEmbeddedBox(`res/`, &embedded.EmbeddedBox{
Name: `res/`,
embedded.RegisterEmbeddedBox(`errw_res/`, &embedded.EmbeddedBox{
Name: `errw_res/`,
Time: time.Unix(1489240168, 0),
Dirs: map[string]*embedded.EmbeddedDir{
"": dir1,