This commit is contained in:
Sefinek 2024-10-10 07:27:04 +02:00
parent d60272b62f
commit 35af7788f8

View file

@ -10,7 +10,8 @@ module.exports = async () => {
x.status === 'REPORTED' && x.status === 'REPORTED' &&
x.ip !== clientIp.getAddress() && x.ip !== clientIp.getAddress() &&
!['//video', '//js', '//images', '//imgs', 'favicon.ico'].some(endpoint => x.endpoint.includes(endpoint)) && // Endpoints !['//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 !['Chrome/129', 'Chrome/130'].some(agent => x.useragent.includes(agent)) && // User-agents
!x.sefinekAPI !x.sefinekAPI
); );