Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Point YP PING requests at new endpoint

Gabe Kangasd3194d1ca3dd
diff --git a/config/defaults.go b/config/defaults.go
index d46bf41d92..9c966b3001 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 7f7102fd52..acfadbf39b 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)