Return {"status": "OK"} for the directory
This commit is contained in:
parent
3ac410c3df
commit
61b92529ab
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ func main() {
|
|||
defer r.Body.Close()
|
||||
crash(err)
|
||||
log.Printf("%s", b)
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
w.Write([]byte("{\"status\": \"OK\"}\n"))
|
||||
})
|
||||
log.Fatal(http.ListenAndServe(":8082", nil))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue