This commit is contained in:
Anton Evangelatov
2021-06-18 18:42:34 +02:00
parent 89df3cc207
commit 577b730415
10 changed files with 228 additions and 86 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ func MinerHandler(a api.StorageMiner, permissioned bool) (http.Handler, error) {
m.PathPrefix("/").Handler(http.DefaultServeMux) // pprof
if !permissioned {
return rpcServer, nil
return m, nil
}
ah := &auth.Handler{