Skip to content

Commit

Permalink
fix(route): 更新 soul 地址 (DIYgod#7717)
Browse files Browse the repository at this point in the history
Co-authored-by: BugWriter2 <[email protected]>
  • Loading branch information
BugWriter2 and BugWriter2 authored Jun 27, 2021
1 parent de8d4a0 commit f728d1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/routes/soul/hot.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const generateResponse = async (items) => ({
description: item.content,
pubDate: new Date(item.createTime).toUTCString(),
guid: item.pId,
link: `https://w3.soulapp-inc.cn/activity/#/web/topic/detail?postIdEcpt=${item.pId}`,
link: `https://w3.soulsmile.cn/activity/#/web/topic/detail?postIdEcpt=${item.pId}`,
})),
});

Expand Down
4 changes: 2 additions & 2 deletions lib/routes/soul/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ const generateResponse = async (info, items) => ({
// 源标题
title: `「${info.name}」的瞬间`,
// 源链接
link: `https://w3.soulapp-inc.cn/activity/#/web/user?userIdEcpt=${info.id}`,
link: `https://w3.soulsmile.cn/activity/#/web/user?userIdEcpt=${info.id}`,
item: items.map((item) => ({
title: `「${info.name}」的新瞬间:${item.pureContent}`,
author: info.name,
description: item.content,
pubDate: new Date(item.createTime).toUTCString(),
guid: item.id,
link: `https://w3.soulapp-inc.cn/activity/#/web/topic/detail?postIdEcpt=${item.id}`,
link: `https://w3.soulsmile.cn/activity/#/web/topic/detail?postIdEcpt=${item.id}`,
})),
});

Expand Down

0 comments on commit f728d1f

Please sign in to comment.