Nick: added growth-2x plan

This commit is contained in:
Nicolas 2024-08-15 18:37:19 -04:00
parent 32c6b1f136
commit ec361609d2
2 changed files with 5 additions and 0 deletions

View File

@ -336,6 +336,8 @@ function getPlanByPriceId(price_id: string) {
case process.env.STRIPE_PRICE_ID_GROWTH: case process.env.STRIPE_PRICE_ID_GROWTH:
case process.env.STRIPE_PRICE_ID_GROWTH_YEARLY: case process.env.STRIPE_PRICE_ID_GROWTH_YEARLY:
return "growth"; return "growth";
case process.env.STRIPE_PRICE_ID_GROWTH_DOUBLE_MONTHLY:
return "growthdouble";
default: default:
return "free"; return "free";
} }

View File

@ -14,6 +14,7 @@ const RATE_LIMITS = {
standardNew: 10, standardNew: 10,
standardnew: 10, standardnew: 10,
growth: 50, growth: 50,
growthdouble: 50,
}, },
scrape: { scrape: {
default: 20, default: 20,
@ -26,6 +27,7 @@ const RATE_LIMITS = {
standardNew: 50, standardNew: 50,
standardnew: 50, standardnew: 50,
growth: 500, growth: 500,
growthdouble: 500,
}, },
search: { search: {
default: 20, default: 20,
@ -38,6 +40,7 @@ const RATE_LIMITS = {
standardNew: 50, standardNew: 50,
standardnew: 50, standardnew: 50,
growth: 500, growth: 500,
growthdouble: 500,
}, },
preview: { preview: {
free: 5, free: 5,