From 04a6765abdbe5a31025fcecdcab8ff4875916af7 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Wed, 2 Sep 2020 15:38:45 -0700 Subject: [PATCH] feat: add splitio configuration --- gatsby-config.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gatsby-config.js b/gatsby-config.js index e2bc232c9..debafcad1 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -18,6 +18,21 @@ module.exports = { contentPadding: '2rem', maxWidth: '1700px', }, + splitio: { + core: { + authorizationKey: process.env.SPLITIO_AUTH_KEY, + }, + env: { + development: { + features: { + 'developer-website_global-header-gh-buttons': 'on', + }, + core: { + authorizationKey: process.env.SPLITIO_AUTH_KEY || 'localhost', + }, + }, + }, + }, newrelic: { configs: { production: {