This commit is contained in:
Louis Mazin 2026-04-16 00:52:48 +02:00
parent df9d0f17ee
commit 9d37c88789

View File

@ -4,7 +4,7 @@ let pinboardCursor = 0;
const parsePinboardImageUrls = () => {
const raw = process.env.PINBOARD_IMAGE_URLS || '';
return raw.split(',')
return raw.split(',').map(url => url.trim()).filter(url => url.length > 0);
};
const selectPinboardWindow = (urls, maxCount) => {