Merge pull request #3847 from Infisical/share-your-own-secret-link-fix

fix(secret-sharing): Support self-hosted for "share your own secret" link
This commit is contained in:
Scott Wilson
2025-06-25 08:31:13 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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={<FontAwesomeIcon icon={faArrowRight} className="pl-2" />}
>
Share Your Own Secret

View File

@@ -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={<FontAwesomeIcon icon={faArrowRight} className="pl-2" />}
>
Share Your Own Secret