Skip to content

Commit 47cbb43

Browse files
committed
1 parent 23155d8 commit 47cbb43

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/js/redirect-engine.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ class RedirectEngine {
210210
const entry = this.resources.get(this.aliases.get(name) || name);
211211
if ( entry === undefined ) { return; }
212212
if ( entry.mime.startsWith(mime) === false ) { return; }
213+
if ( entry.data === undefined ) { return; }
213214
return {
214215
js: entry.toContent(),
215216
world: entry.world,

src/js/redirect-resources.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ export default new Map([
9494
} ],
9595
[ 'google-ima.js', {
9696
alias: 'google-ima3', /* adguard compatibility */
97+
data: 'text',
9798
} ],
9899
[ 'googlesyndication_adsbygoogle.js', {
99100
alias: [

0 commit comments

Comments
 (0)