fix: admin api prefix: /rustfs/admin

fix #91

Signed-off-by: bestgopher <84328409@qq.com>
This commit is contained in:
bestgopher
2024-10-16 22:41:31 +08:00
parent 762b436e46
commit f9b6b88a96
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ where
grpc_future: self.grpc.call(req),
},
_ if req.uri().path().starts_with("/admin/v3") => HybridFuture::Admin {
_ if req.uri().path().starts_with("/rustfs") => HybridFuture::Admin {
admin_future: self.admin.call({
let (parts, body) = req.into_parts();
Request::from_parts(parts, Body::new(body).into())