Skip to content

Commit

Permalink
remove brotli check as these files do not exist on cdn anymore (amppr…
Browse files Browse the repository at this point in the history
…oject#34457)

* remove brotli check as these files do not exist on cdn anymore

* prettier
  • Loading branch information
honeybadgerdontcare authored May 20, 2021
1 parent 9969ae6 commit 83f0c24
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,7 @@ export class ExternalReorderHeadTransformer {
if (
isAsync &&
((src.startsWith(urls.cdn) &&
(endsWith(src, '/v0.js') ||
endsWith(src, '/v0.js.br') ||
endsWith(src, '/amp4ads-v0.js') ||
endsWith(src, '/amp4ads-v0.js.br'))) ||
(endsWith(src, '/v0.js') || endsWith(src, '/amp4ads-v0.js'))) ||
endsWith(src, '/dist/amp.js') ||
endsWith(src, '/dist/amp-inabox.js') ||
endsWith(src, '/dist/v0.js') ||
Expand Down

0 comments on commit 83f0c24

Please sign in to comment.