diff --git a/matrixbot.go b/matrixbot.go index 6254142f588c7408e1a411842136cafefa6fca6e..69ea3810f6dbbc13451c325fe13c6b93091f1172 100644 --- a/matrixbot.go +++ b/matrixbot.go @@ -75,7 +75,6 @@ func (bot *MatrixBot) HandleFunc(command string, handler func(bot *MatrixBot, no func (bot *MatrixBot) Serve(endpoint string) { http.HandleFunc("/healthz", func(writer http.ResponseWriter, request *http.Request) { - writer.WriteHeader(200) _, _ = io.WriteString(writer, "OK\n") }) http.HandleFunc(bot.pushUrl.RequestURI(), func(writer http.ResponseWriter, request *http.Request) {