Skip to content

Commit

Permalink
更换cdn分支
Browse files Browse the repository at this point in the history
  • Loading branch information
yisar committed Aug 4, 2019
1 parent 5dfee8b commit 6769fb7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion build/wp.client.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
2 changes: 1 addition & 1 deletion build/wp.spa.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
21 changes: 11 additions & 10 deletions clicli.manifest.js
Original file line number Diff line number Diff line change
@@ -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);
})();


2 changes: 1 addition & 1 deletion client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="stylesheet" href="//at.alicdn.com/t/font_474499_ltccjmu9blk.css">
<title>少年祈祷中……</title>
<meta name="referrer" content="never"/>
<script src="https://cdn.jsdelivr.net/gh/cliclitv/vue-clicli@master/clicli.manifest.js"></script>
<script src="https://cdn.jsdelivr.net/gh/cliclitv/vue-clicli@latest/clicli.manifest.js"></script>
</head>
<body>
<div id="app"></div>
Expand Down
2 changes: 1 addition & 1 deletion server/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<title>{{title}}</title>
<link rel="stylesheet" href="//at.alicdn.com/t/font_474499_ltccjmu9blk.css">
<meta name="referrer" content="never"/>
<script src="https://cdn.jsdelivr.net/gh/cliclitv/vue-clicli@master/clicli.manifest.js"></script>
<script src="https://cdn.jsdelivr.net/gh/cliclitv/vue-clicli@latest/clicli.manifest.js"></script>
</head>
<body>
<!--vue-ssr-outlet-->
Expand Down

0 comments on commit 6769fb7

Please sign in to comment.