Skip to content

Commit

Permalink
Add resource for noop VMAP
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Dec 29, 2020
1 parent 48bf0ff commit 1669d12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/js/redirect-engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ const redirectableResources = new Map([
alias: 'nooptext',
data: 'text',
} ],
[ 'noop-vmap1.0.xml', {
alias: 'noopvmap-1.0',
data: 'text',
} ],
[ 'outbrain-widget.js', {
alias: 'widgets.outbrain.com/outbrain.js',
} ],
Expand Down Expand Up @@ -173,6 +177,7 @@ const extToMimeMap = new Map([
[ 'mp4', 'video/mp4' ],
[ 'png', 'image/png' ],
[ 'txt', 'text/plain' ],
[ 'xml', 'text/xml' ],
]);

const typeToMimeMap = new Map([
Expand Down
1 change: 1 addition & 0 deletions src/web_accessible_resources/noop-vmap1.0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<vmap:VMAP xmlns:vmap="http://www.iab.net/videosuite/vmap" version="1.0"></vmap:VMAP>

0 comments on commit 1669d12

Please sign in to comment.