Skip to content

The Open Source DocuSign Alternative.

fix: update env types

Mythiee7e881be0140
diff --git a/.env.example b/.env.example
index 55cd3c5f1..3577a185b 100644
--- a/.env.example
+++ b/.env.example
@@ -45,5 +45,5 @@ NEXT_PUBLIC_STRIPE_COMMUNITY_PLAN_YEARLY_PRICE_ID=
#FEATURE FLAGS
# Allow users to register via the /signup page. Otherwise they will be redirect to the home page.
-ALLOW_SIGNUP=true
-ALLOW_SUBSCRIPTIONS=true
\ No newline at end of file
+NEXT_PUBLIC_ALLOW_SIGNUP=true
+NEXT_PUBLIC_ALLOW_SUBSCRIPTIONS=true
\ No newline at end of file
diff --git a/apps/web/process-env.d.ts b/apps/web/process-env.d.ts
index 2babed253..b54336d64 100644
--- a/apps/web/process-env.d.ts
+++ b/apps/web/process-env.d.ts
@@ -15,8 +15,8 @@ declare namespace NodeJS {
STRIPE_API_KEY?: string;
STRIPE_WEBHOOK_SECRET?: string;
- STRIPE_COMMUNITY_PLAN_MONTHLY_PRICE_ID?: string;
- STRIPE_COMMUNITY_PLAN_YEARLY_PRICE_ID?: string;
+ NEXT_PUBLIC_STRIPE_COMMUNITY_PLAN_MONTHLY_PRICE_ID?: string;
+ NEXT_PUBLIC_STRIPE_COMMUNITY_PLAN_YEARLY_PRICE_ID?: string;
NEXT_PUBLIC_ALLOW_SIGNUP?: string;
NEXT_PUBLIC_ALLOW_SUBSCRIPTIONS?: string;