mirror of
https://github.com/minio/minio.git
synced 2025-11-25 20:16:10 -05:00
Use const slashSeparator instead of "/" everywhere (#8028)
This commit is contained in:
@@ -40,7 +40,7 @@ type indexHandler struct {
|
||||
}
|
||||
|
||||
func (h indexHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
r.URL.Path = minioReservedBucketPath + "/"
|
||||
r.URL.Path = minioReservedBucketPath + SlashSeparator
|
||||
h.handler.ServeHTTP(w, r)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user