Skip to content

Commit

Permalink
Merge pull request advplyr#2567 from ipcintron/lockscreen_cover
Browse files Browse the repository at this point in the history
added raw cover on lockscreen for iOS
  • Loading branch information
advplyr authored Jan 29, 2024
2 parents bedb260 + 8c70385 commit dbad8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/store/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const getters = {
return `http://localhost:3333${rootState.routerBasePath}/api/items/${libraryItemId}/cover?token=${userToken}&ts=${lastUpdate}${raw ? '&raw=1' : ''}`
}

return `${rootState.routerBasePath}/api/items/${libraryItemId}/cover?token=${userToken}&ts=${lastUpdate}`
return `${rootState.routerBasePath}/api/items/${libraryItemId}/cover?token=${userToken}&ts=${lastUpdate}${raw ? '&raw=1' : ''}`
},
getLibraryItemCoverSrcById: (state, getters, rootState, rootGetters) => (libraryItemId, timestamp = null, raw = false) => {
const placeholder = `${rootState.routerBasePath}/book_placeholder.jpg`
Expand Down

0 comments on commit dbad8bd

Please sign in to comment.