We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e0c659 commit 633fdc3Copy full SHA for 633fdc3
1 file changed
api/Router.go
@@ -38,6 +38,7 @@ func (r MuxRouter) Init() {
38
r.Router.StrictSlash(true)
39
//r.Router.Handle("/metrics", promhttp.Handler())
40
r.Router.Path("/health").HandlerFunc(func(writer http.ResponseWriter, request *http.Request) {
41
+ setupResponse(&writer, request)
42
writer.Header().Set("Content-Type", "application/json")
43
writer.WriteHeader(200)
44
response := common.Response{}
0 commit comments