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: correct window open for share your own secret link to handle self-hosted
Scott Wilson8ed0a1de8492
diff --git a/frontend/src/pages/public/ViewSharedSecretByIDPage/components/PasswordContainer.tsx b/frontend/src/pages/public/ViewSharedSecretByIDPage/components/PasswordContainer.tsxindex a8030a70a9..2d9ddf29a1 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")}rightIcon={<FontAwesomeIcon icon={faArrowRight} className="pl-2" />}>Share Your Own Secretdiff --git a/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsx b/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsxindex 3130f3c703..4f22c95a2e 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")}rightIcon={<FontAwesomeIcon icon={faArrowRight} className="pl-2" />}>Share Your Own Secret