Next.js Discord

Discord Forum

Weird subdomain-based redirect, without middleware

Unanswered
Giant panda posted this in #help-forum
Open in Discord
Giant pandaOP
I'm ripping my hair out over this.

For some reason, when I access https://employers.localhost.com:3001 Nextjs redirects the request to https://employers.localhost.com:3001/employers
There's no reason it would do that, and I've even completely deleted my middleware to troubleshoot this

When I access https://communities.localhost.com:3001 it doesn't redirect. Only with the employers subdomain

2 Replies

Giant pandaOP
Okay - Super super weird. Seems like it only happens in Arc browser
Had to clear cache :dead: