[web] Remove maxwidth and maxheight that is not used

This commit is contained in:
Alain Nussbaumer
2024-02-28 14:28:10 +01:00
parent 84f209b520
commit 617599ee0c
2 changed files with 1 additions and 25 deletions

View File

@@ -22,16 +22,6 @@ axios.interceptors.response.use(
)
export default {
artwork_url_append_size_params(artworkUrl, maxwidth = 600, maxheight = 600) {
if (artworkUrl && artworkUrl.startsWith('/')) {
if (artworkUrl.includes('?')) {
return `${artworkUrl}&maxwidth=${maxwidth}&maxheight=${maxheight}`
}
return `${artworkUrl}?maxwidth=${maxwidth}&maxheight=${maxheight}`
}
return artworkUrl
},
config() {
return axios.get('./api/config')
},