feat: cache login background images (#3462)

* feat: use direct links to unsplash for background images

Signed-off-by: Deluan <deluan@navidrome.org>

* feat: cache images from unsplash

Signed-off-by: Deluan <deluan@navidrome.org>

* refactor: use cache.HTTPClient to reduce complexity

Signed-off-by: Deluan <deluan@navidrome.org>

* refactor: remove magic numbers

Signed-off-by: Deluan <deluan@navidrome.org>

---------

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan Quintão
2024-11-08 20:23:30 -05:00
committed by GitHub
parent 6c6223f2f9
commit cd0cf7c12b
3 changed files with 122 additions and 34 deletions

3
.gitignore vendored
View File

@@ -23,4 +23,5 @@ music
docker-compose.yml
!contrib/docker-compose.yml
binaries
taglib
taglib
navidrome-master