Skip to content

Commit

Permalink
Update document.js
Browse files Browse the repository at this point in the history
  • Loading branch information
caracal-js committed Jul 28, 2021
1 parent 9e63275 commit f8e5bc2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/browser/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ function createDocumentRewriter(ctx) {
}),
set: new Proxy(domain.set, {
apply: (target, that, [ val ]) => {
console.log(val, ctx.location.hostname)
if (!val.toString().endsWith(ctx.location.hostname.split('.').slice(-2).join('.'))) return Reflect.apply(target, that, ['']);
return spoofDomain = val;
},
Expand Down

0 comments on commit f8e5bc2

Please sign in to comment.