From d0b364460f19213c469c8936f261d20e0e64c550 Mon Sep 17 00:00:00 2001 From: nate Date: Sun, 22 Mar 2026 06:40:36 +0400 Subject: [PATCH] update pro plan interval limit --- apps/api/src/utils/plans.ts | 14 +++++++------- apps/web/src/views/checkout.ejs | 8 ++++---- apps/web/src/views/landing.ejs | 2 +- apps/web/src/views/partials/monitor-form.ejs | 2 +- apps/web/src/views/settings.ejs | 8 ++++---- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/apps/api/src/utils/plans.ts b/apps/api/src/utils/plans.ts index 22cf610..334955a 100644 --- a/apps/api/src/utils/plans.ts +++ b/apps/api/src/utils/plans.ts @@ -8,10 +8,10 @@ export interface PlanLimits { const PLANS: Record = { free: { maxMonitors: 10, minIntervalS: 30, maxRegions: 1 }, - pro: { maxMonitors: 200, minIntervalS: 10, maxRegions: 99 }, - pro2x: { maxMonitors: 400, minIntervalS: 5, maxRegions: 99 }, - pro4x: { maxMonitors: 800, minIntervalS: 2, maxRegions: 99 }, - lifetime: { maxMonitors: 200, minIntervalS: 10, maxRegions: 99 }, + pro: { maxMonitors: 200, minIntervalS: 5, maxRegions: 99 }, + pro2x: { maxMonitors: 400, minIntervalS: 5, maxRegions: 99 }, + pro4x: { maxMonitors: 800, minIntervalS: 5, maxRegions: 99 }, + lifetime: { maxMonitors: 200, minIntervalS: 5, maxRegions: 99 }, }; export function getPlanLimits(plan: string): PlanLimits { @@ -24,9 +24,9 @@ export const PLAN_LABELS: Record = { }; export const PRO_MULTIPLIERS = [ - { plan: "pro", label: "1x", monitors: 200, interval: "10s", priceMultiplier: 1 }, - { plan: "pro2x", label: "2x", monitors: 400, interval: "5s", priceMultiplier: 2 }, - { plan: "pro4x", label: "4x", monitors: 800, interval: "2s", priceMultiplier: 4 }, + { plan: "pro", label: "1x", monitors: 200, interval: "5s", priceMultiplier: 1 }, + { plan: "pro2x", label: "2x", monitors: 400, interval: "5s", priceMultiplier: 2 }, + { plan: "pro4x", label: "4x", monitors: 800, interval: "5s", priceMultiplier: 4 }, ]; export const PRO_MONTHLY_USD = 12; diff --git a/apps/web/src/views/checkout.ejs b/apps/web/src/views/checkout.ejs index df5c565..2b7639d 100644 --- a/apps/web/src/views/checkout.ejs +++ b/apps/web/src/views/checkout.ejs @@ -44,7 +44,7 @@ class="cursor-pointer text-left bg-surface border-2 border-border-subtle hover:border-blue-500/40 rounded-xl p-5 transition-colors">
Pro
From $12/mo
-
200–800 monitors, 10s–2s intervals
+
200–800 monitors, 5s intervals