mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-10 23:34:38 +08:00
fix: value of atomlink
This commit is contained in:
@@ -57,7 +57,7 @@ module.exports = async (ctx, next) => {
|
|||||||
lastBuildDate: new Date().toUTCString(),
|
lastBuildDate: new Date().toUTCString(),
|
||||||
updated: new Date().toISOString(),
|
updated: new Date().toISOString(),
|
||||||
ttl: routeTtl,
|
ttl: routeTtl,
|
||||||
atomlink: ctx.request.header.host + ctx.request.path,
|
atomlink: ctx.request.href,
|
||||||
...ctx.state.data,
|
...ctx.state.data,
|
||||||
};
|
};
|
||||||
if (template) {
|
if (template) {
|
||||||
|
|||||||
Reference in New Issue
Block a user