Point YP PING requests at new endpoint

This commit is contained in:
Gabe Kangas
2021-03-16 13:57:28 -07:00
parent 8961b0c15b
commit bdf0d365c3
2 changed files with 2 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ func (yp *YP) ping() {
return
}
pingURL := config.GetDefaults().YPServer + "/ping"
pingURL := config.GetDefaults().YPServer + "/api/ping"
resp, err := http.Post(pingURL, "application/json", bytes.NewBuffer(req)) //nolint
if err != nil {
log.Errorln(err)