mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
healthchecks should work regardless domain (#27981)
This commit is contained in:
@@ -436,9 +436,5 @@ func (hs *HTTPServer) registerRoutes() {
|
||||
r.Get("/api/snapshots-delete/:deleteKey", reqSnapshotPublicModeOrSignedIn, Wrap(DeleteDashboardSnapshotByDeleteKey))
|
||||
r.Delete("/api/snapshots/:key", reqEditorRole, Wrap(DeleteDashboardSnapshot))
|
||||
|
||||
// Health check
|
||||
r.Get("/api/health", hs.apiHealthHandler)
|
||||
r.Get("/healthz", hs.healthzHandler)
|
||||
|
||||
r.Get("/*", reqSignedIn, hs.Index)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user