How can I tell which base URL to use my-app.vercel.app, my-app.com or some-other-domain.com in single project?
You variables only point on last domain I added in project. This breaks auth URL completelybecause I can't differ between domain and tell which one to use. I can't use req.header.host because I call function outside of request route context, it's in utils
If there's no way, why you offer multiple domains in project?
01