mirror of
https://github.com/navidrome/navidrome.git
synced 2025-05-12 16:16:37 +03:00
must add http prefix
This commit is contained in:
parent
ff429b1bb1
commit
f9b1a68532
@ -180,9 +180,9 @@ func (api *Router) Delete(w http.ResponseWriter, r *http.Request) (*responses.Su
|
||||
}
|
||||
println(mf.Artist)
|
||||
println(mf.Title)
|
||||
// todo make this configurable
|
||||
// todo set this base from env variable
|
||||
//baseUrl := "http://127.0.0.1:8337"
|
||||
baseUrl := "host.docker.internal:8337"
|
||||
baseUrl := "http://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