diff --git a/config/defaults.go b/config/defaults.go index d46bf41d9..9c966b300 100644 --- a/config/defaults.go +++ b/config/defaults.go @@ -41,7 +41,7 @@ func GetDefaults() Defaults { DatabaseFilePath: "data/owncast.db", YPEnabled: false, - YPServer: "https://yp.owncast.online", + YPServer: "https://directory.owncast.online", WebServerPort: 8080, RTMPServerPort: 1935, diff --git a/yp/yp.go b/yp/yp.go index 7f7102fd5..acfadbf39 100644 --- a/yp/yp.go +++ b/yp/yp.go @@ -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)