mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 10:20:29 -06:00
E2C: Set up page route so cloud-migrations doesn't 404 (#89947)
This commit is contained in:
parent
9740ce3f58
commit
52ea6236d4
@ -108,6 +108,10 @@ func (hs *HTTPServer) registerRoutes() {
|
||||
r.Get("/admin/storage/*", reqSignedIn, hs.Index)
|
||||
}
|
||||
|
||||
if hs.Features.IsEnabledGlobally(featuremgmt.FlagOnPremToCloudMigrations) {
|
||||
r.Get("/admin/migrate-to-cloud", reqOrgAdmin, hs.Index)
|
||||
}
|
||||
|
||||
// feature toggle admin page
|
||||
if hs.Features.IsEnabledGlobally(featuremgmt.FlagFeatureToggleAdminPage) {
|
||||
r.Get("/admin/featuretoggles", authorize(ac.EvalPermission(ac.ActionFeatureManagementRead)), hs.Index)
|
||||
|
Loading…
Reference in New Issue
Block a user