diff --git a/frontend/src/components/navigation/RegionSelect.tsx b/frontend/src/components/navigation/RegionSelect.tsx index 21bc26a56..008c7ea3a 100644 --- a/frontend/src/components/navigation/RegionSelect.tsx +++ b/frontend/src/components/navigation/RegionSelect.tsx @@ -80,8 +80,8 @@ export const RegionSelect = () => { const [subdomain, domain] = window.location.host.split("."); - // only display region select for local dev and cloud - if (!(subdomain.match(/localhost:8080/) || domain.match(/infisical/))) return null; + // only display region select for cloud + if (!domain?.match(/infisical/)) return null; // default to US if not eu const currentRegion = subdomain === Region.EU ? regions[1] : regions[0];