17 lines
442 B
JavaScript
17 lines
442 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
async redirects() {
|
|
return [
|
|
{ source: '/auth', destination: '/auth/signin', permanent: false },
|
|
{ source: '/user', destination: '/user/home', permanent: false },
|
|
{ source: '/', destination: '/user/home', permanent: false },
|
|
];
|
|
},
|
|
i18n: {
|
|
locales: ['en'],
|
|
defaultLocale: 'en',
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|