mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-27 15:44:59 +05:00
18 lines
448 B
JavaScript
18 lines
448 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', 'cn'],
|
||
|
defaultLocale: 'en',
|
||
|
},
|
||
|
};
|
||
|
|
||
|
module.exports = nextConfig;
|