mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-31 07:30:32 +00:00
feat: use Navidrome's icon in getAvatar
This commit is contained in:
parent
5b40ec400e
commit
8b108905a3
@ -21,7 +21,7 @@ func NewMediaRetrievalController(cover engine.Cover) *MediaRetrievalController {
|
||||
}
|
||||
|
||||
func (c *MediaRetrievalController) GetAvatar(w http.ResponseWriter, r *http.Request) (*responses.Subsonic, error) {
|
||||
f, err := static.AssetFile().Open("itunes.png")
|
||||
f, err := static.AssetFile().Open("navidrone-310x310.png")
|
||||
if err != nil {
|
||||
log.Error(r, "Image not found", err)
|
||||
return nil, NewError(responses.ErrorDataNotFound, "Avatar image not found")
|
||||
|
||||
File diff suppressed because one or more lines are too long
BIN
static/navidrone-310x310.png
Normal file
BIN
static/navidrone-310x310.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
Loading…
x
Reference in New Issue
Block a user