mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 13:40:22 +03:00
Use const slashSeparator instead of "/" everywhere (#8028)
This commit is contained in:
+1
-1
@@ -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