complement weed mount

This commit is contained in:
sparklxb
2017-03-10 10:28:07 +08:00
parent 813a4f7456
commit 7f85e15990
3 changed files with 81 additions and 24 deletions

View File

@@ -107,6 +107,7 @@ func NewFilerServer(r *http.ServeMux, ip string, port int, master string, dir st
r.HandleFunc("/admin/mv", fs.moveHandler)
r.HandleFunc("/admin/register", fs.registerHandler)
r.HandleFunc("/__api__", fs.apiHandler)
}
r.HandleFunc("/", fs.filerHandler)