From 27bfddba24d9cc1ae85c7dffb9ebfa997ba2802b Mon Sep 17 00:00:00 2001 From: Seaton Jiang Date: Fri, 28 Jan 2022 16:40:20 +0800 Subject: [PATCH] chore: change static resources --- inc/theme-core.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/theme-core.php b/inc/theme-core.php index d15c37f..5777c84 100644 --- a/inc/theme-core.php +++ b/inc/theme-core.php @@ -4,12 +4,12 @@ * 核心函数 * @author Seaton Jiang * @license GPL-3.0 License - * @version 2022.01.26 + * @version 2022.01.28 */ // CDN 资源地址 if (kratos_option('g_cdn', false)) { - $asset_path = 'https://cdn.jsdelivr.net/gh/seatonjiang/kratos@' . THEME_VERSION; + $asset_path = 'https://cdn.seatonjiang.com/kratos@' . THEME_VERSION; } else { $asset_path = get_template_directory_uri(); } @@ -191,7 +191,7 @@ add_filter('get_avatar_url', 'get_https_avatar'); // 主题更新检测 $myUpdateChecker = Puc_v4_Factory::buildUpdateChecker( - 'https://cdn.jsdelivr.net/gh/seatonjiang/kratos/inc/update-checker/update.json', + 'https://cdn.seatonjiang.com/kratos/update.json', get_template_directory() . '/functions.php', 'Kratos' );