summaryrefslogtreecommitdiff
path: root/background/webrequest.js
diff options
context:
space:
mode:
Diffstat (limited to 'background/webrequest.js')
-rw-r--r--background/webrequest.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/background/webrequest.js b/background/webrequest.js
index e32947a..9787318 100644
--- a/background/webrequest.js
+++ b/background/webrequest.js
@@ -74,7 +74,7 @@ function on_headers_received(details)
let headers = details.responseHeaders;
- const policy = decide_policy(tree, details.url, default_allow, secret);
+ const policy = decide_policy(tree, details.url, !!default_allow, secret);
if (policy.allow)
return;