Skip to content

Commit 8ab08c8

Browse files
committed
Update config.
1 parent a03f482 commit 8ab08c8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ app.use('/wechat', wechat(config.token, wechat.text(function (message, req, res,
4444
return {
4545
title: item.path,
4646
description: item.textRaw + ':\n' + replaced,
47-
picurl: 'http://nodeapi.cloudfoundry.com/qrcode.jpg',
48-
url: 'http://nodeapi.cloudfoundry.com/detail?id=' + item.hash
47+
picurl: config.domain + '/qrcode.jpg',
48+
url: config.domain + '/detail?id=' + item.hash
4949
};
5050
});
5151
if (data.more && data.more.length) {
5252
content.push({
5353
title: '更多:' + data.more.join(', ').substring(0, 200) + '...',
5454
description: data.more.join(', ').substring(0, 200) + '...',
55-
picurl: 'http://nodeapi.cloudfoundry.com/qrcode.jpg'
55+
picurl: config.domain + '/qrcode.jpg'
5656
});
5757
}
5858
break;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"dependencies": {
1414
"alpha": "0.0.7",
1515
"connect": "*",
16-
"wechat": "0.2.0",
16+
"wechat": "0.3.2",
1717
"ejs": "*"
1818
},
1919
"author": "Jackson Tian",

0 commit comments

Comments
 (0)