Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: only display region select for cloud
Scott Wilson70aa73482e5b
diff --git a/frontend/src/components/navigation/RegionSelect.tsx b/frontend/src/components/navigation/RegionSelect.tsxindex 21bc26a56a..008c7ea3a8 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 euconst currentRegion = subdomain === Region.EU ? regions[1] : regions[0];