We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae6e3cd commit 2fbc7fcCopy full SHA for 2fbc7fc
1 file changed
routes/router.go
@@ -14,4 +14,9 @@ func RegisterRoutes(router *mux.Router, rulesController *controllers.RulesContro
14
http.Error(w, "Failed to save rules", http.StatusInternalServerError)
15
}
16
}).Methods("GET")
17
+
18
+ router.HandleFunc("/health-module", func(w http.ResponseWriter, r *http.Request) {
19
+ w.WriteHeader(http.StatusOK)
20
+ w.Write([]byte("OK"))
21
+ }).Methods("GET")
22
0 commit comments