From cf96ea45d7c3fc9b2678c18b97b99e44fe1ebdfb Mon Sep 17 00:00:00 2001 From: Mathieu Oriol Date: Mon, 9 Sep 2024 16:58:09 +0200 Subject: [PATCH] redirection de / vers /team --- traque-front/next.config.mjs | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/traque-front/next.config.mjs b/traque-front/next.config.mjs index 7ea2c19..f75af37 100644 --- a/traque-front/next.config.mjs +++ b/traque-front/next.config.mjs @@ -1,8 +1,20 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - experimental: { - outputStandalone: true - } + + output: 'standalone', + + async redirects() { + return [ + { + source: '/', + destination: '/team', + permanent: true, + }, + ] + }, + }; + + export default nextConfig;