mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fixed redirection error
This commit is contained in:
parent
ab9206c38e
commit
7283d68e32
|
@ -64,7 +64,7 @@ func NewMasterServer(r *mux.Router, version string, port int, metaFolder string,
|
|||
r.HandleFunc("/vol/status", ms.proxyToLeader(secure(ms.whiteList, ms.volumeStatusHandler)))
|
||||
r.HandleFunc("/vol/vacuum", ms.proxyToLeader(secure(ms.whiteList, ms.volumeVacuumHandler)))
|
||||
r.HandleFunc("/submit", secure(ms.whiteList, ms.submitFromMasterServerHandler))
|
||||
r.HandleFunc("/", ms.redirectHandler)
|
||||
r.HandleFunc("/{filekey}", ms.redirectHandler)
|
||||
|
||||
ms.topo.StartRefreshWritableVolumes(garbageThreshold)
|
||||
|
||||
|
|
Loading…
Reference in a new issue