mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
fix: bump synology cached thumbnail size sm->m (#782)
fetchSynologyThumbnailBytes was still serving 240px while the uncached streamSynologyAsset path had been bumped to 320px in #761. Align the cached path with the streaming default.
This commit is contained in:
@@ -627,7 +627,9 @@ export async function fetchSynologyThumbnailBytes(
|
|||||||
mode: 'download',
|
mode: 'download',
|
||||||
id: parsedId.id,
|
id: parsedId.id,
|
||||||
type: 'unit',
|
type: 'unit',
|
||||||
size: 'sm',
|
// Match the uncached streamSynologyAsset default — 'sm' (240px) looked
|
||||||
|
// pixelated on retina.
|
||||||
|
size: 'm',
|
||||||
cache_key: parsedId.cacheKey,
|
cache_key: parsedId.cacheKey,
|
||||||
_sid: sid.data,
|
_sid: sid.data,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user