So my primary app connects perfectly to the db and logs the user in but when I do another subdomain it directs to the correct app and loads it perfectly but it wont allow the user to login as its not connecting to the database
Seems like someone encountered the same issue: Patrick, why .env file is ignored in production?