diff --git a/app/assets/javascripts/purchaseFlow/PurchaseFlowWrapper.tsx b/app/assets/javascripts/purchaseFlow/PurchaseFlowWrapper.tsx index ecdeb1129..9deeec45d 100644 --- a/app/assets/javascripts/purchaseFlow/PurchaseFlowWrapper.tsx +++ b/app/assets/javascripts/purchaseFlow/PurchaseFlowWrapper.tsx @@ -11,7 +11,7 @@ export type PurchaseFlowWrapperProps = { }; export const getPurchaseFlowUrl = async (application: WebApplication): Promise => { - const currentUrl = window.location.href; + const currentUrl = window.location.origin; const successUrl = isDesktopApplication() ? `standardnotes://` : currentUrl; if (application.noAccount()) { return `${window._purchase_url}/offline?&success_url=${successUrl}`; diff --git a/package.json b/package.json index 4aa865fbb..7e9cf75b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "standard-notes-web", - "version": "3.9.0", + "version": "3.9.1", "license": "AGPL-3.0-or-later", "repository": { "type": "git",