mirror of
https://github.com/navidrome/navidrome.git
synced 2025-06-05 01:43:11 +03:00
reach out to localhost of the host machine from within the navidromer container
This commit is contained in:
parent
de76f84599
commit
ff429b1bb1
@ -180,7 +180,9 @@ func (api *Router) Delete(w http.ResponseWriter, r *http.Request) (*responses.Su
|
||||
}
|
||||
println(mf.Artist)
|
||||
println(mf.Title)
|
||||
baseUrl := "http://127.0.0.1:8337"
|
||||
// todo make this configurable
|
||||
//baseUrl := "http://127.0.0.1:8337"
|
||||
baseUrl := "host.docker.internal:8337"
|
||||
queryEndPoint := "/item/query/"
|
||||
queryStr := fmt.Sprintf("artist:%s/title:%s", mf.Artist, mf.Title)
|
||||
url := baseUrl + queryEndPoint + queryStr
|
||||
|
Loading…
x
Reference in New Issue
Block a user