Add dummy endpoint for the directory reconsolation thing
This commit is contained in:
parent
5e8081a5b3
commit
11365e3297
1 changed files with 4 additions and 0 deletions
|
@ -27,5 +27,9 @@ func main() {
|
||||||
crash(err)
|
crash(err)
|
||||||
fmt.Fprintf(w, "%s\n", code)
|
fmt.Fprintf(w, "%s\n", code)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
http.HandleFunc("/v1/directory/reconsole", func(w http.ResponseWriter, r *http.Request) {
|
||||||
|
log.Printf("%s", r.Body)
|
||||||
|
})
|
||||||
log.Fatal(http.ListenAndServe(":8082", nil))
|
log.Fatal(http.ListenAndServe(":8082", nil))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue