Expected behaviour
dev.domain.net shows the full site, meant for developer testing only. This is located on the ‘vite-prototype’ branch of the gh repo
domain.net shows a coming soon landing page. This is located on the ‘coming-soon’ branch of the gh repo.
Current behaviour
The public-facing domain.net and www.domain.net show the full site, instead of the landing page which is on the ‘coming-soon’ branch.
Code, configuration, and steps that reproduce this issue
In project>settings>domains the domain.net redirects to www.domain,net, which is assigned to the ‘coming-soon’ branch and is in the pre-production environment. The dev.domain.net is assigned to the ‘vite-prototype’ branch.
In project>settings>environments all domains (domain.net, www.domain.net and dev.domain.net) are set to the Production environment which the branch tracking says ‘vite-prototype’
As a result, the public-facing domain.net and www.domain.net show the full site instead of the landing page which is on the ‘coming-soon’ branch
Project information (URL, framework, environment, project settings)
Vite + React
Bog standard css (no Tailwind or Postcss etc.)
Vercel hobby account
Cloudflare domain