From 0a8a311bd78aa28b25a8f09feb65e848435d4d06 Mon Sep 17 00:00:00 2001 From: Jeff Escalante Date: Thu, 21 May 2020 14:22:50 -0400 Subject: [PATCH] env variable clarity --- website/.env | 3 +++ website/next.config.js | 1 + 2 files changed, 4 insertions(+) create mode 100644 website/.env diff --git a/website/.env b/website/.env new file mode 100644 index 0000000000..f29b5d725c --- /dev/null +++ b/website/.env @@ -0,0 +1,3 @@ +NEXT_PUBLIC_SEGMENT_WRITE_KEY='IyzLrqXkox5KJ8XL4fo8vTYNGfiKlTCm' +NEXT_PUBLIC_BUGSNAG_CLIENT_KEY='01625078d856ef022c88f0c78d2364f1' +NEXT_PUBLIC_BUGSNAG_SERVER_KEY='be8ed0d0fc887d547284cce9e98e60e5' diff --git a/website/next.config.js b/website/next.config.js index b856467bb3..5974c49f30 100644 --- a/website/next.config.js +++ b/website/next.config.js @@ -15,6 +15,7 @@ module.exports = withHashicorp({ }, ], }, + // Note: These are meant to be public, it's not a mistake that they are here env: { HASHI_ENV: process.env.HASHI_ENV || 'development', SEGMENT_WRITE_KEY: 'IyzLrqXkox5KJ8XL4fo8vTYNGfiKlTCm',