diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-13 18:23:35 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-13 18:25:39 +0100 |
| commit | 295c9b4bb33bfc21f12715bb9cdaed2ca4d1dd4d (patch) | |
| tree | 2003f9aa223c744d1e09bf2de60b1bb91c44dd69 | |
| parent | 553225bac64f762ce0a9ac5094ce6e3348f88f41 (diff) | |
chore: add a redirection from /feed to /feed.xml
| -rw-r--r-- | next.config.js | 8 |
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'), |
