I am using app router here. The current URL I have is http://localhost:3000/SomeClientURL
But the ask from client is if user enter http://localhost:3000/someclienturl it should work the same way.
I was trying with below rewrites method but didn't work.
const nextConfig = {
basePath: "/SomeClientURL",
async rewrites() {
return [
{
source: '/someclienturl',
destination: '/SomeClientURL',
},
]
},
sassOptions: {
..someSettingsHere
},
images: {
..someSettingsHere
},
};
If you were, I would name all my route files in lowercase, and use a middleware to implement case insensitivity