From 75a3d7399b257256a09d602cbe01062fe1cdf68d Mon Sep 17 00:00:00 2001 From: Sukka Date: Fri, 8 Mar 2024 04:05:58 +0800 Subject: [PATCH] refactor: replace `polyfill.io` for `cdnjs` hosted link (#1598) --- _data/origin/cors.yml | 4 ++-- _includes/js-selector.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_data/origin/cors.yml b/_data/origin/cors.yml index 5be89c1..b6c8674 100644 --- a/_data/origin/cors.yml +++ b/_data/origin/cors.yml @@ -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 diff --git a/_includes/js-selector.html b/_includes/js-selector.html index 1a1fa58..1fd408a 100644 --- a/_includes/js-selector.html +++ b/_includes/js-selector.html @@ -91,7 +91,7 @@ } }; - + {% endif %}