We are building a single frontend next app that will be hosted on multiple domains and need to reflect the different branding for each domain as set in our CMS (we have an object that describes the branding settings)
Each domain will be a separate deployment. I was trying to figure out a way to have next understand which domain it is building and to tell he backend during build time so that the proper branding info is used. I thought env variables would be the way, but we dont want this stored in our repo, so env vars like vercel env vars would prob work. but how do i recreate that locally?
sorry if this is explanation soup.