A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: data is not defined
thecodrrfdbd9d5272bf
diff --git a/apps/web/public/crypto.worker.js b/apps/web/public/crypto.worker.jsindex 54433eb26..3413f3d4c 100644--- a/apps/web/public/crypto.worker.js+++ b/apps/web/public/crypto.worker.js@@ -51,6 +51,7 @@ function onMessage(ev) {return;}} catch (error) {+ console.error("Crypto worker error:", error, messageId, type);sendMessage(type, { error: error.message }, messageId);}}@@ -128,7 +129,7 @@ const encrypt = (passwordOrKey, plainData) => {const { sodium } = this;if (plainData.type === "plain") {- plainData.data = enc.encode(data.data);+ plainData.data = enc.encode(plainData.data);}const { key, salt } = _getKey(passwordOrKey);