From 51efba548dcf9ad9f145961e8ac464ed971883d8 Mon Sep 17 00:00:00 2001 From: William Grant Date: Mon, 13 Dec 2021 09:24:30 +1100 Subject: [PATCH] added env var staging secret to next config --- README.md | 2 +- next.config.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 92c59d3..dc6c345 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ## Getting Started -This project is built with [Contentful](https://www.contentful.com), [Next.js](https://nextjs.org/) , [Tailwind CSS](https://tailwindcss.com/) & [Typescript](https://www.typescriptlang.org/). +This project is built with [Contentful](https://www.contentful.com), [Next.js](https://nextjs.org/), [Tailwind CSS](https://tailwindcss.com/) & [Typescript](https://www.typescriptlang.org/). ### System Requirements diff --git a/next.config.js b/next.config.js index 88a199e..36798d0 100644 --- a/next.config.js +++ b/next.config.js @@ -62,6 +62,7 @@ const nextConfig = { CAMPAIGN_MONITOR_CLIENT_ID: process.env.CAMPAIGN_MONITOR_CLIENT_ID, CAMPAIGN_MONITOR_API_KEY: process.env.CAMPAIGN_MONITOR_API_KEY, CAMPAIGN_MONITOR_LIST_API_ID: process.env.CAMPAIGN_MONITOR_LIST_API_ID, + STAGING_SECRET: process.env.STAGING_SECRET, }, async headers() { return [