diff --git a/themes/hexo/components/Hero.js b/themes/hexo/components/Hero.js index 7e1cdc9d..98925856 100644 --- a/themes/hexo/components/Hero.js +++ b/themes/hexo/components/Hero.js @@ -27,7 +27,7 @@ const Hero = props => { if (!typed && window && document.getElementById('typed')) { loadExternalResource( - 'https://cdn.jsdelivr.net/npm/typed.js@2.0.12', + 'https://cdn.bootcdn.net/ajax/libs/typed.js/2.0.12/typed.min.js', 'js' ).then(() => { if (window.Typed) { diff --git a/themes/matery/components/Hero.js b/themes/matery/components/Hero.js index 65975a0f..f50b73f0 100644 --- a/themes/matery/components/Hero.js +++ b/themes/matery/components/Hero.js @@ -22,7 +22,7 @@ const Hero = props => { updateHeaderHeight() if (!typed && window && document.getElementById('typed')) { loadExternalResource( - 'https://cdn.jsdelivr.net/npm/typed.js@2.0.12', + 'https://cdn.bootcdn.net/ajax/libs/typed.js/2.0.12/typed.min.js', 'js' ).then(() => { if (window.Typed) {