From a58d933200784b7c54216acb0d25934499baec45 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Tue, 1 Mar 2022 11:19:18 +0800 Subject: [PATCH] chore: modify the cdn address of the less dependency (#473) Signed-off-by: Ryan Wang --- src/components/SettingDrawer/setting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SettingDrawer/setting.js b/src/components/SettingDrawer/setting.js index dd20d42a..2b7724f7 100644 --- a/src/components/SettingDrawer/setting.js +++ b/src/components/SettingDrawer/setting.js @@ -82,7 +82,7 @@ const updateTheme = primaryColor => { javascriptEnabled: true }; ` - lessScriptNode.src = 'https://cdn.jsdelivr.net/npm/less@3.8.1/dist/less.min.js' + lessScriptNode.src = 'https://unpkg.com/less@3.8.1/dist/less.min.js' lessScriptNode.async = true lessScriptNode.onload = () => { buildIt()