fix incident view
continuous-integration/drone/push Build is passing

This commit is contained in:
nathan committed 2025-03-24 17:03:16 +11:00
1 parent 49e60f7843
commit 252bf0a1c8
9 files changed
+612 -10

No files matched your search

+1
View File
@@ -31,6 +31,7 @@ func New(logger *slog.Logger, database db.Database, buildTime string, sha1ver st
mux.HandleFunc("/api/now/import/x_dusa2_itom_inc_imp", h.NewSnow)
mux.HandleFunc("/api/now/table/incident/", h.GetIncident)
mux.HandleFunc("/api/print", h.RenderIncomingTable)
mux.HandleFunc("/api/print/incidents", h.RenderIncidentTable)
// TODO - fallback route that will just echo incoming payload
mux.HandleFunc("/", h.Fallback)