How to handle api routes on vercel custom domain
When users visit my custom domain https://whatsnxt.in, I would like to redirect them to https://www.whatsnxt.in but this is causing api routes to fail
When users visit my custom domain https://whatsnxt.in, I would like to redirect them to https://www.whatsnxt.in but this is causing api routes to fail