Skip to content

Commit e605efa

Browse files
committed
try to init DocumentBlockApi before getTrustedDomains
1 parent 551d343 commit e605efa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Extension/src/background/engine/engine-mv3.ts

+2
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ export class Engine implements TsWebExtensionEngine {
241241
// };
242242
// }));
243243

244+
await DocumentBlockApi.init();
245+
244246
const blockingTrustedRules = await DocumentBlockApi.getTrustedDomains();
245247

246248
return {

0 commit comments

Comments
 (0)