From 295c9b4bb33bfc21f12715bb9cdaed2ca4d1dd4d Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Thu, 13 Jan 2022 18:23:35 +0100 Subject: chore: add a redirection from /feed to /feed.xml --- next.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'next.config.js') 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'), -- cgit v1.2.3