summaryrefslogtreecommitdiffstats
path: root/next.config.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-13 18:35:48 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-13 18:35:48 +0100
commit02ee023272c4f28fd866de40dd2b15a7f7b75a4a (patch)
treee7d29b73e679f07906068593d0e25bf6f8c728fe /next.config.js
parent606461f857e06b06429dd5738be642f9d1b459be (diff)
parent320b5782f348d42f6a2bb74a70d4d114525355e4 (diff)
feat: add feeds (rss, atom, json)
Diffstat (limited to 'next.config.js')
-rw-r--r--next.config.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/next.config.js b/next.config.js
index 25db587..59ca4f4 100644
--- a/next.config.js
+++ b/next.config.js
@@ -14,6 +14,14 @@ const nextConfig = {
},
poweredByHeader: false,
reactStrictMode: true,
+ async rewrites() {
+ return [
+ {
+ source: '/feed',
+ destination: '/feed.xml',
+ },
+ ];
+ },
sassOptions: {
includePaths: [
path.join(__dirname, 'styles'),