From 332a04d3be765ef114f5549cdbc5c8b3fcdfbd79 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Thu, 27 Jun 2024 12:42:52 +0800 Subject: [PATCH] =?UTF-8?q?typedjs=20=E5=8D=87=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/hexo/components/Hero.js | 2 +- themes/matery/components/Hero.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {