Skip to content

Commit

Permalink
extension: Update declarativeNetRequest rules using the chrome namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhjacobs committed Jan 14, 2025
1 parent fb69e55 commit 61d3bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/packages/extension/src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ async function enableSWFTakeover() {
},
},
];
await utils.declarativeNetRequest.updateDynamicRules({
await chrome.declarativeNetRequest.updateDynamicRules({
removeRuleIds: [1, 2, 3],
addRules: rules,
});
Expand Down

0 comments on commit 61d3bf0

Please sign in to comment.