Skip to content

Commit

Permalink
refactor: replace polyfill.io for cdnjs hosted link (mmistakes#1598)
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW authored Mar 7, 2024
1 parent 795ff3f commit 75a3d73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _data/origin/cors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ cdns:
- url: https://fonts.googleapis.com
# jsDelivr CDN
- url: https://cdn.jsdelivr.net
# polyfill.io for math
- url: https://polyfill.io
# polyfill.io for math (cdnjs.cloudflare.com/polyfill)
- url: https://cdnjs.cloudflare.com

# fonts

Expand Down
2 changes: 1 addition & 1 deletion _includes/js-selector.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
}
};
</script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="{{ site.data.origin[type].mathjax.js | relative_url }}"></script>
{% endif %}

Expand Down

0 comments on commit 75a3d73

Please sign in to comment.