懂球帝外链变更 (#986)

This commit is contained in:
Henry Wang
2018-10-28 01:55:43 +08:00
committed by DIYgod
parent fce145b2ca
commit 4b502f4cae
+1 -1
View File
@@ -26,7 +26,7 @@ const ProcessHref = (content) => {
cheerio
.load(v)('a')
.each((j, y) => {
y.attribs.href = y.attribs.href.replace('dongqiudi:///', 'https://www.dongqiudi.com/archive/');
y.attribs.href = y.attribs.href.replace('dongqiudi:///news', 'https://www.dongqiudi.com/share/article');
});
});
return content;