This commit is contained in:
Henrique Dias committed 2017-06-29 17:54:57 +01:00
1 parent 0a44059eb1
commit 98a92a3da0
11 files changed
+190 -125

No files matched your search

+2 -2
View File
@@ -106,8 +106,8 @@ func New(scope string) *FileManager {
Users: map[string]*User{},
BeforeSave: func(r *http.Request, m *FileManager, u *User) error { return nil },
AfterSave: func(r *http.Request, m *FileManager, u *User) error { return nil },
static: http.FileServer(rice.MustFindBox("./_assets/dist_dev/_").HTTPBox()),
templates: rice.MustFindBox("./_assets/dist_dev/templates"),
static: http.FileServer(rice.MustFindBox("./_assets/dist_build/_").HTTPBox()),
templates: rice.MustFindBox("./_assets/dist_build/templates"),
}
m.SetScope(scope, "")