瀏覽代碼

feat: cdn http -> https

lanjianrong 4 年之前
父節點
當前提交
7c1e839385
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      config/config.js

+ 4 - 4
config/config.js

@@ -50,12 +50,12 @@ export default defineConfig({
   scripts:
     process.env.NODE_ENV === 'development'
       ? [
-          'https://zhcld.com/resource/js/react.development.js',
-          'https://zhcld.com/resource/js/react-dom.development.js'
+          'https://d2.smartcost.com.cn/cach/cld/react.development.js',
+          'https://d2.smartcost.com.cn/cach/cld/react-dom.development.js'
         ]
       : [
-          'https://zhcld.com/resource/js/react.production.min.js',
-          'https://zhcld.com/resource/js/react-dom.production.min.js'
+          'https://d2.smartcost.com.cn/cach/cld/react.production.min.js',
+          'https://d2.smartcost.com.cn/cach/cld/react-dom.production.min.js'
         ],
   routes,
   theme: {