Add dummy endpoint for the directory reconsolation thing

This commit is contained in:
Finn Herzfeld 2018-12-05 13:04:52 -08:00
parent 5e8081a5b3
commit 11365e3297

View file

@ -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))
} }