hardening the check if a listing is active

This commit is contained in:
orangecoding
2026-01-26 12:34:49 +01:00
parent acbaab05ed
commit afd1048c9e
2 changed files with 48 additions and 15 deletions

View File

@@ -36,7 +36,7 @@ const config = {
},
normalize: normalize,
filter: applyBlacklist,
activeTester: checkIfListingIsActive,
activeTester: (url) => checkIfListingIsActive(url, 'Angebot nicht gefunden'),
};
export const init = (sourceConfig, blacklist) => {
config.enabled = sourceConfig.enabled;