Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/535caf13243529fb7c5b6b1cfe9f8795e7d64e6b?style=unified&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
6 additions and
3 deletions
@ -20,7 +20,8 @@ namespace Lidarr.Api.V1.Albums
}
[HttpGet]
public object Search ( string term )
[Produces("application/json")]
public IEnumerable < AlbumResource > Search ( string term )
{
var searchResults = _searchProxy . SearchForNewAlbum ( term , null ) ;
return MapToResource ( searchResults ) . ToList ( ) ;
@ -23,7 +23,8 @@ namespace Lidarr.Api.V1.Artist
}
[HttpGet]
public object Search ( [ FromQuery ] string term )
[Produces("application/json")]
public IEnumerable < ArtistResource > Search ( [ FromQuery ] string term )
{
var searchResults = _searchProxy . SearchForNewArtist ( term ) ;
return MapToResource ( searchResults ) . ToList ( ) ;
@ -24,7 +24,8 @@ namespace Lidarr.Api.V1.Search
}
[HttpGet]
public object Search ( [ FromQuery ] string term )
[Produces("application/json")]
public IEnumerable < SearchResource > Search ( [ FromQuery ] string term )
{
var searchResults = _searchProxy . SearchForNewEntity ( term ) ;
return MapToResource ( searchResults ) . ToList ( ) ;