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