Added default locale language setting for app.

This commit is contained in:
Caretaker0699 2023-05-16 14:14:42 -07:00
parent 97bcc8e8da
commit 9ed2948aff

View File

@ -9,14 +9,14 @@ const nextConfig = {
env: {},
// This is the list of pages that should be exported when you run the `next export` command.
exportPathMap: async function () {
exportPathMap: async function (defaultPathMap, { dev, dir, outDir, distDir, buildId }) {
return {
'/': { page: '/' },
'/about': { page: '/about' },
'/contactus': { page: '/contactus' },
'/getinvolved': { page: '/getinvolved' },
'/hireus': { page: '/hireus' },
'/projects': { page: '/projects' },
'/': { page: '/' , query: { __nextDefaultLocale: 'en' }},
'/about': { page: '/about' , query: { __nextDefaultLocale: 'en' }},
'/contactus': { page: '/contactus' , query: { __nextDefaultLocale: 'en' }},
'/getinvolved': { page: '/getinvolved' , query: { __nextDefaultLocale: 'en' }},
'/hireus': { page: '/hireus' , query: { __nextDefaultLocale: 'en' }},
'/projects': { page: '/projects' , query: { __nextDefaultLocale: 'en' }},
};