File tree Expand file tree Collapse file tree
packages/feature-flags/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,9 +87,11 @@ export const ProfileMenu = ({
8787 purchase . subscriptionId ? (
8888 < DropdownMenuItem
8989 key = { purchase . subscriptionId }
90- onSelect = { ( ) =>
91- navigate ( userPlanSubscriptionPath ( purchase . subscriptionId ) )
92- }
90+ onSelect = { ( ) => {
91+ window . location . href = userPlanSubscriptionPath (
92+ purchase . subscriptionId
93+ ) ;
94+ } }
9395 >
9496 { purchase . planName }
9597 </ DropdownMenuItem >
Original file line number Diff line number Diff line change @@ -51,12 +51,6 @@ const env = {
5151 projectId . trim ( )
5252 ) ?? [ ] ,
5353
54- N8N_WEBHOOK_URL : process . env . N8N_WEBHOOK_URL ,
55- N8N_WEBHOOK_TOKEN : process . env . N8N_WEBHOOK_TOKEN ,
56-
57- PAYMENT_WORKER_URL : process . env . PAYMENT_WORKER_URL ,
58- PAYMENT_WORKER_TOKEN : process . env . PAYMENT_WORKER_TOKEN ,
59-
6054 PUBLISHER_HOST : process . env . PUBLISHER_HOST || "wstd.work" ,
6155
6256 STAGING_USERNAME : process . env . STAGING_USERNAME ?? "admin" ,
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import type { AUTH_PROVIDERS } from "~/shared/session";
22import { publicStaticEnv } from "~/env/env.static" ;
33import { getAuthorizationServerOrigin } from "./origins" ;
44import type { BuilderMode } from "../nano-states/misc" ;
5- import { isFeatureEnabled } from "@webstudio-is/feature-flags" ;
65
76const searchParams = ( params : Record < string , string | undefined | null > ) => {
87 const searchParams = new URLSearchParams ( ) ;
@@ -116,11 +115,7 @@ export const userPlanSubscriptionPath = (subscriptionId?: string) => {
116115 urlSearchParams . set ( "subscription" , subscriptionId ) ;
117116 }
118117
119- if ( isFeatureEnabled ( "paymentWorker" ) ) {
120- return `/payments/billing-portal/sessions?${ urlSearchParams . toString ( ) } ` ;
121- }
122-
123- return `/n8n/billing_portal/sessions?${ urlSearchParams . toString ( ) } ` ;
118+ return `/builder-payments/billing-portal/sessions?${ urlSearchParams . toString ( ) } ` ;
124119} ;
125120
126121export const authCallbackPath = ( {
Original file line number Diff line number Diff line change @@ -3,4 +3,3 @@ export const internalComponents = false;
33export const unsupportedBrowsers = false ;
44export const resourceProp = false ;
55export const tailwind = false ;
6- export const paymentWorker = false ;
You can’t perform that action at this time.
0 commit comments