Skip to content
Snippets Groups Projects
Verified Commit 602412d7 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

fix: correct http status

parent e921ee64
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment