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: increase fetchjsonp timeout to 30s
thecodrrd864c9a25fb6
diff --git a/apps/web/src/common/checkout.js b/apps/web/src/common/checkout.jsindex 9ffe47f6e..b069c100c 100644--- a/apps/web/src/common/checkout.js+++ b/apps/web/src/common/checkout.js@@ -133,6 +133,7 @@ async function getPlans() {const yearlyProductId = PRODUCT_ID("yearly");const url = `https://checkout.paddle.com/api/2.0/prices?product_ids=${yearlyProductId},${monthlyProductId}&callback=getPrices`;const response = await fetchJsonp(url, {+ timeout: 30000,jsonpCallback: "callback",jsonpCallbackFunction: "getPrices",});@@ -146,6 +147,7 @@ async function getPlan(plan) {const productId = PRODUCT_ID(plan);const url = `https://checkout.paddle.com/api/2.0/prices?product_ids=${productId}&callback=getPlan`;const response = await fetchJsonp(url, {+ timeout: 30000,jsonpCallback: "callback",jsonpCallbackFunction: "getPlan",});