From 9194f1196634267309c2cbf554f745bee638c847 Mon Sep 17 00:00:00 2001 From: tristandenyer Date: Mon, 1 Jul 2024 13:58:13 -0700 Subject: [PATCH] update polyfill to use Cloudflare one for Security Team --- src/components/seo.jsx | 8 ++++---- src/pages/index.jsx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/seo.jsx b/src/components/seo.jsx index 428af52b5..58d6149a2 100644 --- a/src/components/seo.jsx +++ b/src/components/seo.jsx @@ -102,12 +102,12 @@ + + + ); } diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 26ac7abde..dc605495e 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -41,7 +41,7 @@ class IndexPage extends React.Component { polyfill.id = id polyfill.language = "JavaScript1.1" polyfill.src = - "//polyfill.io/v3/polyfill.min.js?features=default%2CArray.prototype.find%2CArray.prototype.includes%2CPromise%2CObject.assign%2CObject.entries" + "//cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=default%2CArray.prototype.find%2CArray.prototype.includes%2CPromise%2CObject.assign%2CObject.entries" polyfill.async = true document.body.appendChild(polyfill) }