Skip to content

Commit

Permalink
Changed Polyfill provider domain
Browse files Browse the repository at this point in the history
Following Cloudflare best practices we've switched out polyfill provider to their services. While in the long term I don't really trust using external services, I have to be honest and say that I don't know what removing polyfill will do for backwards compatibility with older browsers, which I want to maintain as best as possible. For now, I make this change!

Reccomendations gathered from here https://blog.cloudflare.com/automatically-replacing-polyfill-io-links-with-cloudflares-mirror-for-a-safer-internet
  • Loading branch information
NatVIII committed Jul 3, 2024
1 parent a195a0e commit 8766cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ useHead({
link: [{ rel: 'icon', type: 'image/png', href: '/favicon.png' }],
script: [
{
src: 'https://polyfill.io/v3/polyfill.min.js?features=default%2Ces2015%2Ces6%2Ces5',
src: 'https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=default%2Ces2015%2Ces6%2Ces5',
crossorigin: 'anonymous',
},
],
Expand Down

1 comment on commit 8766cea

@vercel
Copy link

@vercel vercel bot commented on 8766cea Jul 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

rva-rip – ./

rva-rip-my-team-66f1c945.vercel.app
rva-rip-git-main-my-team-66f1c945.vercel.app
www.rva.rip
rva.rip

Please sign in to comment.