added env var staging secret to next config

This commit is contained in:
William Grant 2021-12-13 09:24:30 +11:00
parent d27e330611
commit 51efba548d
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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 [