Skip to content

Commit 41875a1

Browse files
committed
fix for images in RSS feed
1 parent 5692b1b commit 41875a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ async function generateRSSFeed(host: string): Promise<Response> {
340340

341341
// Convert markdown to HTML for the description
342342
const htmlContent = render(markdown, {
343-
baseUrl: `https://${host}`,
343+
baseUrl: `https://${host}${entry.path}`,
344344
allowIframes: true,
345345
allowedTags: ["iframe", "div"],
346346
allowedAttributes: {

0 commit comments

Comments
 (0)