Skip to content

Commit 2fbc7fc

Browse files
fix router
1 parent ae6e3cd commit 2fbc7fc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

routes/router.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,9 @@ func RegisterRoutes(router *mux.Router, rulesController *controllers.RulesContro
1414
http.Error(w, "Failed to save rules", http.StatusInternalServerError)
1515
}
1616
}).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")
1722
}

0 commit comments

Comments
 (0)