mirror of
https://github.com/owncast/owncast.git
synced 2024-11-21 12:18:02 +03:00
Point YP PING requests at new endpoint
This commit is contained in:
parent
8961b0c15b
commit
bdf0d365c3
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
2
yp/yp.go
2
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)
|
||||
|
|
Loading…
Reference in a new issue