You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
new file and dir (no buttons tho)
Former-commit-id: c47d326b86c3f829c7d9be560e2be259b46fd6e6 [formerly 4345eef3cd03012c898b8b96e0cb3a2a7215a206] [formerly 5afc1727a5a35c3b544f65fa518cd78e9155acb5 [formerly 6626398cdf]]
Former-commit-id: 7355b4d84fbebdb8d7af7f391d104e570183a84b [formerly c23033af68c62c775bfcbcc7daf43d0bc308cf79]
Former-commit-id: 704005d6b1b1f8702ac39cdef636eed6b2f973de
This commit is contained in:
@@ -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_build/_").HTTPBox()),
|
||||
templates: rice.MustFindBox("./_assets/dist_build/templates"),
|
||||
static: http.FileServer(rice.MustFindBox("./_assets/dist_dev/_").HTTPBox()),
|
||||
templates: rice.MustFindBox("./_assets/dist_dev/templates"),
|
||||
}
|
||||
|
||||
m.SetScope(scope, "")
|
||||
|
||||
Reference in New Issue
Block a user