mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-23 22:22:01 +01:00
Update adblock-server.js
This commit is contained in:
parent
bff455e919
commit
d7b0a5d02e
@ -81,7 +81,7 @@ else {
|
||||
const adblockCosmetic = engine.getCosmeticsFilters({
|
||||
url: askUrl,
|
||||
hostname: fullUrl.hostname,
|
||||
domain: tldts.parse(fullUrl).domain
|
||||
domain: tldts.getDomain(fullUrl.hostname)
|
||||
});
|
||||
|
||||
resultJson["cosmetic"] = adblockCosmetic;
|
||||
@ -115,4 +115,4 @@ else {
|
||||
server.listen(port, hostname, () => {
|
||||
console.log(`adblocker: Server started at local port ${port}.`);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user