chore: change the rss style link.

This commit is contained in:
Yufan Sheng 2024-12-31 16:31:09 +08:00
parent 9cf0b4eef0
commit 666c439d8e
Signed by: syhily
GPG Key ID: 9D18A22A7DCD5A9B

View File

@ -103,7 +103,7 @@ export const GET = async () => {
return rss({
title: options.title,
description: options.description,
stylesheet: '/feed.xsl',
stylesheet: urlJoin(import.meta.env.SITE, '/feed.xsl'),
site: import.meta.env.SITE,
items: feedPosts.map((post) => ({
link: urlJoin(import.meta.env.SITE, post.permalink),