mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-09 14:49:25 +00:00
fix: admin api prefix: /rustfs/admin
fix #91 Signed-off-by: bestgopher <84328409@qq.com>
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user