mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-03 19:26:07 +00:00
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:
@@ -70,7 +70,7 @@ export const PasswordContainer = ({
|
|||||||
colorSchema="primary"
|
colorSchema="primary"
|
||||||
variant="outline_bg"
|
variant="outline_bg"
|
||||||
size="sm"
|
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" />}
|
rightIcon={<FontAwesomeIcon icon={faArrowRight} className="pl-2" />}
|
||||||
>
|
>
|
||||||
Share Your Own Secret
|
Share Your Own Secret
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ export const SecretContainer = ({ secret, secretKey: key }: Props) => {
|
|||||||
colorSchema="primary"
|
colorSchema="primary"
|
||||||
variant="outline_bg"
|
variant="outline_bg"
|
||||||
size="sm"
|
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" />}
|
rightIcon={<FontAwesomeIcon icon={faArrowRight} className="pl-2" />}
|
||||||
>
|
>
|
||||||
Share Your Own Secret
|
Share Your Own Secret
|
||||||
|
|||||||
Reference in New Issue
Block a user