Skip to content

Commit 85d8b98

Browse files
committed
add envirnment
1 parent 486d897 commit 85d8b98

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

next.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ const nextConfig = {
2424
STRIPE_SECRET_KEY: process.env.STRIPE_SECRET_KEY,
2525
PRODUCT_PRICE_ID: process.env.PRODUCT_PRICE_ID,
2626
SUPABASE_SERVICE_ROLE_KEY: process.env.SUPABASE_SERVICE_ROLE_KEY,
27-
REACT_APP_LICENSE: process.env.REACT_APP_LICENSE
27+
REACT_APP_LICENSE: process.env.REACT_APP_LICENSE,
28+
TWILLO_PHONE:process.env.TWILLO_PHONE,
29+
SENTRY_DSN_KEY:process.env.SENTRY_DSN_KEY,
30+
SITE_DOMAIN:process.env.SITE_DOMAIN,
31+
TWILIO_ACCOUNT_SID:process.env.TWILIO_ACCOUNT_SID,
32+
TWILIO_AUTH_TOKEN:process.env.TWILIO_AUTH_TOKEN,
2833
},
2934
}
3035

sentry.client.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import * as Sentry from "@sentry/nextjs";
66

77
Sentry.init({
8-
dsn: "https://368f1e7f98b08d15469f34a0e663365f@o4505837672464384.ingest.sentry.io/4505837674496000",
8+
dsn: process.env.SENTRY_DSN_KEY,
99

1010
// Adjust this value in production, or use tracesSampler for greater control
1111
tracesSampleRate: 1,

sentry.edge.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import * as Sentry from "@sentry/nextjs";
77

88
Sentry.init({
9-
dsn: "https://368f1e7f98b08d15469f34a0e663365f@o4505837672464384.ingest.sentry.io/4505837674496000",
9+
dsn: process.env.SENTRY_DSN_KEY,
1010

1111
// Adjust this value in production, or use tracesSampler for greater control
1212
tracesSampleRate: 1,

sentry.server.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import * as Sentry from "@sentry/nextjs";
66

77
Sentry.init({
8-
dsn: "https://368f1e7f98b08d15469f34a0e663365f@o4505837672464384.ingest.sentry.io/4505837674496000",
8+
dsn: process.env.SENTRY_DSN_KEY,
99

1010
// Adjust this value in production, or use tracesSampler for greater control
1111
tracesSampleRate: 1,

0 commit comments

Comments
 (0)