Skip to content

Commit 8a76cce

Browse files
Fixing a bug in which we'd show that you need to regenerate your certificate in exactly the opposite situation as when we should.
1 parent e314425 commit 8a76cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ class LocalRestApiSettingTab extends PluginSettingTab {
232232
const remainingCertificateValidityDays =
233233
getCertificateValidityDays(parsedCertificate);
234234
const shouldRegenerateCertificate =
235-
getCertificateIsUptoStandards(parsedCertificate);
235+
!getCertificateIsUptoStandards(parsedCertificate);
236236

237237
containerEl.empty();
238238
containerEl.classList.add("obsidian-local-rest-api-settings");

0 commit comments

Comments
 (0)