I’m trying to confirm whether the following setup is possible in one Netlify site, or if it requires two totally separate sites:
The reason I need them to be different TLDs is because of (relatively) recent SameSite cookie changes. That is, each site hits a backend API at the ‘api’ subdomain, and in order to share cookies the domain on those cookies needs to be the TLD.
I might be missing something in the docs, but I can’t seem how to make this happen - sites seem to require a subdomain. Is that in fact the case, or is there some way to make this work?
(NB: the branch doesn’t have to be dynamic for my use case - a static ‘dev’ branch is totally fine).