JaBa/dashboard/next.config.js

18 lines
442 B
JavaScript
Raw Permalink Normal View History

2024-05-29 22:23:20 +05:00
/** @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: {
2024-07-13 15:43:14 +05:00
locales: ['en'],
2024-05-29 22:23:20 +05:00
defaultLocale: 'en',
},
};
module.exports = nextConfig;