Chris Lu 7 years ago
parent
commit
9cd6b33e97
  1. 2
      weed/server/filer_server.go

2
weed/server/filer_server.go

@ -106,10 +106,10 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, ip string, port int,
}
defaultMux.HandleFunc("/admin/mv", fs.moveHandler)
defaultMux.HandleFunc("/admin/register", fs.registerHandler)
defaultMux.HandleFunc("/__api__", fs.apiHandler)
}
defaultMux.HandleFunc("/admin/register", fs.registerHandler)
defaultMux.HandleFunc("/", fs.filerHandler)
if defaultMux != readonlyMux {
readonlyMux.HandleFunc("/", fs.readonlyFilerHandler)

Loading…
Cancel
Save