Files
band-management/resources/vuexy-admin-v10.11.1/nextjs-version/javascript-version/full-version/next.config.mjs

28 lines
773 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
basePath: process.env.BASEPATH,
redirects: async () => {
return [
{
source: '/',
destination: '/en/dashboards/crm',
permanent: true,
locale: false
},
{
source: '/:lang(en|fr|ar)',
destination: '/:lang/dashboards/crm',
permanent: true,
locale: false
},
{
source: '/:path((?!en|fr|ar|front-pages|images|api|favicon.ico).*)*',
destination: '/en/:path*',
permanent: true,
locale: false
}
];
}
};
export default nextConfig;