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