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_YEARLY:
return "growth";
case process.env.STRIPE_PRICE_ID_GROWTH_DOUBLE_MONTHLY:
return "growthdouble";
default:
return "free";
}

View File

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