mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Storage: Add HTTP endpoint for object store service (#56214)
This commit is contained in:
@@ -261,7 +261,13 @@ func (hs *HTTPServer) registerRoutes() {
|
||||
})
|
||||
|
||||
if hs.Features.IsEnabled(featuremgmt.FlagStorage) {
|
||||
// Will eventually be replaced with the 'object' route
|
||||
apiRoute.Group("/storage", hs.StorageService.RegisterHTTPRoutes)
|
||||
|
||||
// Allow HTTP access to the object storage feature (dev only for now)
|
||||
if hs.Features.IsEnabled(featuremgmt.FlagGrpcServer) {
|
||||
apiRoute.Group("/object", hs.httpObjectStore.RegisterHTTPRoutes)
|
||||
}
|
||||
}
|
||||
|
||||
if hs.Features.IsEnabled(featuremgmt.FlagPanelTitleSearch) {
|
||||
|
||||
Reference in New Issue
Block a user