Skip to content

Commit

Permalink
feat: allow p12 and cer extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianoventura committed Oct 21, 2024
1 parent ed017f4 commit 5b91ccf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Settings/UpstreamProxySettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export function UpstreamProxySettings() {
label="Certificate path (optional)"
onSelectFile={handleSelectFile}
buttonText="Select file"
hint="The location of the certificate file (PEM format) used to establish a trusted connection with the upstream server"
hint="The location of the certificate file used to establish a trusted connection with the upstream server"
/>
</>
)
Expand Down
2 changes: 1 addition & 1 deletion src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ export async function selectUpstreamCertificate() {
return dialog.showOpenDialog({
title: 'Select certificate',
properties: ['openFile'],
filters: [{ name: 'PEM certificate', extensions: ['pem'] }],
filters: [{ name: 'PEM certificate', extensions: ['pem', 'cer', 'p12'] }],
})
}

0 comments on commit 5b91ccf

Please sign in to comment.