diff --git a/frontend/src/pages/public/ViewSharedSecretByIDPage/components/PasswordContainer.tsx b/frontend/src/pages/public/ViewSharedSecretByIDPage/components/PasswordContainer.tsx index a8030a70a..8beb2e74b 100644 --- a/frontend/src/pages/public/ViewSharedSecretByIDPage/components/PasswordContainer.tsx +++ b/frontend/src/pages/public/ViewSharedSecretByIDPage/components/PasswordContainer.tsx @@ -70,7 +70,7 @@ export const PasswordContainer = ({ colorSchema="primary" variant="outline_bg" size="sm" - onClick={() => window.open("https://app.infisical.com/share-secret", "_blank")} + onClick={() => window.open("/share-secret", "_blank", "noopener")} rightIcon={} > Share Your Own Secret diff --git a/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsx b/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsx index 3130f3c70..e4074b675 100644 --- a/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsx +++ b/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsx @@ -76,7 +76,7 @@ export const SecretContainer = ({ secret, secretKey: key }: Props) => { colorSchema="primary" variant="outline_bg" size="sm" - onClick={() => window.open("https://app.infisical.com/share-secret", "_blank")} + onClick={() => window.open("/share-secret", "_blank", "noopener")} rightIcon={} > Share Your Own Secret