Skip to content

Commit 75a3d73

Browse files
authored
refactor: replace polyfill.io for cdnjs hosted link (cotes2020#1598)
1 parent 795ff3f commit 75a3d73

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_data/origin/cors.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ cdns:
88
- url: https://fonts.googleapis.com
99
# jsDelivr CDN
1010
- url: https://cdn.jsdelivr.net
11-
# polyfill.io for math
12-
- url: https://polyfill.io
11+
# polyfill.io for math (cdnjs.cloudflare.com/polyfill)
12+
- url: https://cdnjs.cloudflare.com
1313

1414
# fonts
1515

_includes/js-selector.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
}
9292
};
9393
</script>
94-
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
94+
<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=es6"></script>
9595
<script id="MathJax-script" async src="{{ site.data.origin[type].mathjax.js | relative_url }}"></script>
9696
{% endif %}
9797

0 commit comments

Comments
 (0)