Closed AhmadAbuyahya closed 2 years ago
This is how I use rewrites for catch-all route slugs... Maybe it'll give you some inspiration:
{
source: '/blog/:slug*',
destination: '/website1/blog/:slug*',
},
Hi @AhmadAbuyahya, you can handle rewrites on the Express.js/Fastify level
Hi @AhmadAbuyahya, you can handle rewrites on the Express.js/Fastify level
is there no way to handle them from next?
@AhmadAbuyahya I think Express/Fastify could do that natively, so I'd suggest using them!
I want to add certain rewrites to one of my domains and it doesn't seem to work, this is what my next.config.js looks like:
I also tried adding the tenant name before and it also didn't work:
any help would be appreciated