Skip to content

Commit

Permalink
Minor code review
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jan 30, 2023
1 parent 2e1cb9b commit d88ec51
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/js/reverselookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ const fromNetFilter = async function(rawFilter) {
const id = messageId++;
worker.postMessage({
what: 'fromNetFilter',
id: id,
id,
compiledFilter: writer.last(),
rawFilter: rawFilter
rawFilter,
});

return new Promise(resolve => {
Expand All @@ -174,9 +174,9 @@ const fromExtendedFilter = async function(details) {

worker.postMessage({
what: 'fromExtendedFilter',
id: id,
id,
domain: domainFromHostname(hostname),
hostname: hostname,
hostname,
ignoreGeneric:
staticNetFilteringEngine.matchRequestReverse(
'generichide',
Expand Down

0 comments on commit d88ec51

Please sign in to comment.