Browse Source

chore: modify the cdn address of the less dependency (#473)

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/475/head
Ryan Wang 3 years ago committed by GitHub
parent
commit
a58d933200
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/components/SettingDrawer/setting.js

2
src/components/SettingDrawer/setting.js

@ -82,7 +82,7 @@ const updateTheme = primaryColor => {
javascriptEnabled: true 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.async = true
lessScriptNode.onload = () => { lessScriptNode.onload = () => {
buildIt() buildIt()

Loading…
Cancel
Save