Relative Content

Tag Archive for http-redirectnext.js

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?

I’m working on a multi-tenant application where each tenant gets a different subdomain (e.g., “tenant1.localhost:3000″, “tenant2.localhost:3000″, etc.)