next.config.js file had redirection and the redirection still works in other projects
I had a project that managed some redirections in my next.config.js file. which was something like this:
real time redirect in next.config.mjs
I’m new in Nextjs. I created redirect paths with ajax in next.config.mjs.
But when I changes redirect paths I should rebuild my project once again.
I want redirect new paths without build.
How can I redirect to a subdomain from a server action?
I’m working on a multi-tenant application where each tenant gets a different subdomain (e.g., “tenant1.localhost:3000″, “tenant2.localhost:3000″, etc.)
How can I redirect to a subdomain?
I’m working on a multi-tenant application where each tenant gets a different subdomain (e.g., “tenant1.localhost:3000″, “tenant2.localhost:3000″, etc.)