From 6769fb73f3a187df2ed293b232e7402cf1a5a180 Mon Sep 17 00:00:00 2001 From: 132yse <1533540012@qq.com> Date: Sun, 4 Aug 2019 11:37:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2cdn=E5=88=86=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/wp.client.js | 2 +- build/wp.spa.js | 2 +- clicli.manifest.js | 21 +++++++++++---------- client/index.html | 2 +- server/index.html | 2 +- 5 files changed, 15 insertions(+), 14 deletions(-) diff --git a/build/wp.client.js b/build/wp.client.js index cc62174..767c5a5 100644 --- a/build/wp.client.js +++ b/build/wp.client.js @@ -17,7 +17,7 @@ module.exports = merge(baseConfig, { output: { path: path.resolve(__dirname, '../dist'), filename: 'js/[name].js', - publicPath: isDev ? 'http://localhost:2333/' : 'https://cdn.jsdelivr.net/gh/cliclitv/vue-clicli@master/dist/' + publicPath: isDev ? 'http://localhost:2333/' : 'https://cdn.jsdelivr.net/gh/cliclitv/vue-clicli@latest/dist/' }, module: { rules: [ diff --git a/build/wp.spa.js b/build/wp.spa.js index 02417e5..70e1929 100644 --- a/build/wp.spa.js +++ b/build/wp.spa.js @@ -16,7 +16,7 @@ module.exports = merge(baseConfig, { output: { path: path.resolve(__dirname, '../dist/spa'), filename: 'js/[name].js', - publicPath: isDev ? 'http://localhost:2333/' : 'https://cdn.jsdelivr.net/gh/cliclitv/vue-clicli@master/dist/' + publicPath: isDev ? 'http://localhost:2333/' : 'https://cdn.jsdelivr.net/gh/cliclitv/vue-clicli@latest/dist/' }, module: { rules: [ diff --git a/clicli.manifest.js b/clicli.manifest.js index 4acb47b..deea641 100644 --- a/clicli.manifest.js +++ b/clicli.manifest.js @@ -1,16 +1,17 @@ (function () { - window.adLink = `https://dwz.cn/jc0psWg2`; - window.gonggao = `c站更换 cdn,招募投稿,加群:857500387`; + window.adLink = 'https://dwz.cn/jc0psWg2'; + window.adImg = '111'; + window.gonggao = 'c站更换 cdn,招募投稿,加群:857500387'; })(); var _hmt = _hmt || []; -if (_hmt.length) { - (function () { - var hm = document.createElement("script"); - hm.src = "https://hm.baidu.com/hm.js?8fc8aa49cffa79e5b92078fd15951dd1"; - var s = document.getElementsByTagName("script")[0]; - s.parentNode.insertBefore(hm, s); - })(); -}; + +(function () { + var hm = document.createElement("script"); + hm.src = "https://hm.baidu.com/hm.js?8fc8aa49cffa79e5b92078fd15951dd1"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); +})(); + diff --git a/client/index.html b/client/index.html index 1ed0b11..23322bc 100644 --- a/client/index.html +++ b/client/index.html @@ -7,7 +7,7 @@ 少年祈祷中…… - +
diff --git a/server/index.html b/server/index.html index ad29ec1..45d3fc4 100644 --- a/server/index.html +++ b/server/index.html @@ -9,7 +9,7 @@ {{title}} - +