parent
ced1008ad5
commit
2d5c66b108
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,8 @@ export const DownloadDialog = ({
|
||||||
|
|
||||||
const sanitizeSnippet = (snippet: string) =>
|
const sanitizeSnippet = (snippet: string) =>
|
||||||
snippet.replace(
|
snippet.replace(
|
||||||
/(?<=<PrivateKeyPem>).*(?=<\/PrivateKeyPem>)/gs,
|
/<PrivateKeyPem>.*<\/PrivateKeyPem>/gs,
|
||||||
t("clients:privateKeyMask")
|
`<PrivateKeyPem>${t("clients:privateKeyMask")}</PrivateKeyPem>`
|
||||||
);
|
);
|
||||||
|
|
||||||
useFetch(
|
useFetch(
|
||||||
|
|
Loading…
Reference in a new issue