Skip to content

Commit

Permalink
feat(lib): update feed config on generateFeed()
Browse files Browse the repository at this point in the history
Change `feedLinks.rss2` to `feedLinks.atom1`
  • Loading branch information
mateusfg7 committed Jun 16, 2023
1 parent 9198fac commit 915ad5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(blog)/feed/generate-feed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function generateFeed() {
copyright: `All rights reserved ${date.getFullYear()}, Mateus Felipe.`,
updated: posts.length > 0 ? new Date(posts[0].date) : date,
feedLinks: {
rss2: `${host}/feed`
atom1: `${host}/feed`
},
docs: 'https://github.com/mateusfg7/mfg-b',
generator: 'Feed for Node.js',
Expand Down

0 comments on commit 915ad5b

Please sign in to comment.