From 8c703859a01a5fd2f89188a4326366864df70276 Mon Sep 17 00:00:00 2001 From: ipcintron Date: Mon, 29 Jan 2024 13:18:58 -0600 Subject: [PATCH] added raw cover --- client/store/globals.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/store/globals.js b/client/store/globals.js index 961dd52e..32d58c96 100644 --- a/client/store/globals.js +++ b/client/store/globals.js @@ -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`