healthchecks should work regardless domain (#27981)
(cherry picked from commit a28a2fba51)
This commit is contained in:
committed by
Sofia Papagiannaki
parent
6ff9d3ffad
commit
1cd4391b9b
@@ -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