Skip to content

Commit

Permalink
Update rss.xml.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitLib authored Sep 23, 2024
1 parent 26043f5 commit 095b32d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/rss.xml.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import rss from "@astrojs/rss";
import sanitizeHtml from "sanitize-html";

export async function GET(context) {
const postImportResult = import.meta.glob("./**/*mdx", { eager: true });
const postImportResult = import.meta.glob("./**/*.mdx", { eager: true });
const posts = Object.values(postImportResult);

return rss({
Expand Down

0 comments on commit 095b32d

Please sign in to comment.