📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
fix choose a plan path
Blue Mouse0fe9ec944efb
diff --git a/web/app/components/pricing/BillingPricing.tsx b/web/app/components/pricing/BillingPricing.tsxindex 7bc4f5a6f..e424bec76 100644--- a/web/app/components/pricing/BillingPricing.tsx+++ b/web/app/components/pricing/BillingPricing.tsx@@ -387,7 +387,7 @@ const BillingPricing = ({<main className='min-h-min-footer bg-gray-50 pb-16 dark:bg-slate-950'><div className='mx-auto w-full max-w-7xl px-4 pt-6 sm:px-6 lg:px-8'><Button- to={routes.billing}+ to={`${routes.user_settings}?tab=billing`}variant='ghost'size='sm'className='mb-4 gap-1'diff --git a/web/app/routes/billing_.choose-plan.tsx b/web/app/routes/billing_.choose-plan.tsxnew file mode 100644index 000000000..75a0f6cd6--- /dev/null+++ b/web/app/routes/billing_.choose-plan.tsx@@ -0,0 +1,12 @@+import { redirect } from 'react-router'+import type { SitemapFunction } from 'remix-sitemap'++import routes from '~/utils/routes'++export const sitemap: SitemapFunction = () => ({+ exclude: true,+})++export async function loader() {+ return redirect(routes.billing_choose_plan, 302)+}diff --git a/web/app/routes/billing.choose-plan.tsx b/web/app/routes/user-settings_.choose-plan.tsxsimilarity index 100%rename from web/app/routes/billing.choose-plan.tsxrename to web/app/routes/user-settings_.choose-plan.tsxdiff --git a/web/app/utils/routes.ts b/web/app/utils/routes.tsindex 6a4f3c588..da7d89277 100644--- a/web/app/utils/routes.ts+++ b/web/app/utils/routes.ts@@ -20,7 +20,7 @@ const routes = Object.freeze({project_settings: '/projects/settings/:id',project: '/projects/:id',billing: '/billing',- billing_choose_plan: '/billing/choose-plan',+ billing_choose_plan: '/user-settings/choose-plan',privacy: '/privacy',cookiePolicy: '/cookie-policy',dpa: '/dpa',