test
This commit is contained in:
parent
df9d0f17ee
commit
9d37c88789
@ -4,7 +4,7 @@ let pinboardCursor = 0;
|
|||||||
|
|
||||||
const parsePinboardImageUrls = () => {
|
const parsePinboardImageUrls = () => {
|
||||||
const raw = process.env.PINBOARD_IMAGE_URLS || '';
|
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) => {
|
const selectPinboardWindow = (urls, maxCount) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user