{
reactStrictMode: true,
swcMinify: true,
/** Next.js i18n docs:
* @see https://nextjs.org/docs/advanced-features/i18n-routing
* Reference repo for i18n:
* @see https://github.com/juliusmarminge/t3-i18n
**/
i18n: {
defaultLocale: "en",
locales: ["en"],
},
basePath: env.APP_BASE_PATH,
async redirects() {
return [
{
source: "/",
destination: env.APP_BASE_PATH,
basePath: false,
permanent: false,
},
];
},
}
{
reactStrictMode: true,
swcMinify: true,
/** Next.js i18n docs:
* @see https://nextjs.org/docs/advanced-features/i18n-routing
* Reference repo for i18n:
* @see https://github.com/juliusmarminge/t3-i18n
**/
i18n: {
defaultLocale: "en",
locales: ["en"],
},
basePath: env.APP_BASE_PATH,
async redirects() {
return [
{
source: "/",
destination: env.APP_BASE_PATH,
basePath: false,
permanent: false,
},
];
},
}