From 35af7788f8d03fa2d22cde47080b1b09becc7760 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Thu, 10 Oct 2024 07:27:04 +0200 Subject: [PATCH] Update --- scripts/sefinekAPI.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/sefinekAPI.js b/scripts/sefinekAPI.js index 7060f5c..c79812a 100644 --- a/scripts/sefinekAPI.js +++ b/scripts/sefinekAPI.js @@ -10,7 +10,8 @@ module.exports = async () => { x.status === 'REPORTED' && x.ip !== clientIp.getAddress() && !['//video', '//js', '//images', '//imgs', 'favicon.ico'].some(endpoint => x.endpoint.includes(endpoint)) && // Endpoints - x.hostname !== 'blocklist.sefinek.net' && // Domains + ['api.', 'cdn.'].some(prefix => x.hostname.startsWith(prefix)) && // Domains + x.hostname !== 'blocklist.sefinek.net' && // Domain !['Chrome/129', 'Chrome/130'].some(agent => x.useragent.includes(agent)) && // User-agents !x.sefinekAPI );