mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-10 15:21:59 +08:00
fix: 修复知乎日报原始链接,news-at子域更换为daily子域 (#4450)
This commit is contained in:
@@ -21,7 +21,7 @@ module.exports = async (ctx) => {
|
|||||||
const item = {
|
const item = {
|
||||||
title: story.title,
|
title: story.title,
|
||||||
description: '',
|
description: '',
|
||||||
link: 'https://news-at.zhihu.com/story/' + story.id,
|
link: 'https://daily.zhihu.com/story/' + story.id,
|
||||||
};
|
};
|
||||||
const key = 'daily' + story.id;
|
const key = 'daily' + story.id;
|
||||||
const value = await ctx.cache.get(key);
|
const value = await ctx.cache.get(key);
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ module.exports = async (ctx) => {
|
|||||||
const item = {
|
const item = {
|
||||||
title: story.title,
|
title: story.title,
|
||||||
description: '',
|
description: '',
|
||||||
link: 'https://news-at.zhihu.com/story/' + story.id,
|
link: 'https://daily.zhihu.com/story/' + story.id,
|
||||||
};
|
};
|
||||||
const key = 'daily' + story.id;
|
const key = 'daily' + story.id;
|
||||||
const value = await ctx.cache.get(key);
|
const value = await ctx.cache.get(key);
|
||||||
|
|||||||
Reference in New Issue
Block a user