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: paddle checkout not opening due to csp
thecodrr917ca829cbc0
diff --git a/apps/web/public/index.html b/apps/web/public/index.htmlindex a97e1559a..3580c3bc2 100644--- a/apps/web/public/index.html+++ b/apps/web/public/index.html@@ -4,7 +4,10 @@<meta charset="utf-8" /><!-- https://electronjs.org/docs/tutorial/security#csp-meta-tag -->- <meta http-equiv="Content-Security-Policy" content="script-src 'self' https://analytics.streetwriters.co 'unsafe-inline';" />+ <meta+ http-equiv="Content-Security-Policy"+ content="script-src 'self' https://analytics.streetwriters.co https://cdn.paddle.com 'unsafe-inline';"+ /><linkrel="apple-touch-icon"sizes="180x180"@@ -46,10 +49,7 @@work correctly both with client-side routing and a non-root public URL.Learn how to configure a non-root public URL by running `npm run build`.-->- <meta- name="description"- content="Your private note taking space"- />+ <meta name="description" content="Your private note taking space" /><metaproperty="og:title"content="Notesnook - Your private note taking space"@@ -170,11 +170,15 @@/></g></svg>- <p align="center" style="font-size: 14px; margin-top: 25px;">Taking too long?- <br>- <span>Reload the app by pressing <code class="key">Shift</code> + <code class="key">F5</code></span>- <br>- <br>+ <p align="center" style="font-size: 14px; margin-top: 25px">+ Taking too long?+ <br />+ <span+ >Reload the app by pressing <code class="key">Shift</code> ++ <code class="key">F5</code></span+ >+ <br />+ <br /><em>If it still takes too long, please reload your browser.</em></p></div>diff --git a/apps/web/src/components/dialogs/buydialog.js b/apps/web/src/components/dialogs/buydialog.jsindex 64a905c2d..58f8afe91 100644--- a/apps/web/src/components/dialogs/buydialog.js+++ b/apps/web/src/components/dialogs/buydialog.js@@ -203,12 +203,12 @@ function BuyDialog(props) {mt={1}fontSize="body"onClick={async () => {- props.onCancel();if (isLoggedIn) {await upgrade(user);} else {await showSignUpDialog();}+ props.onCancel();}}>{isLoggedIn ? "Subscribe to Notesnook Pro" : "Sign up now"}