Commit 70b489f2 authored by Jeff Avallone's avatar Jeff Avallone

Adding support for setting the banner with an env var

parent aca30c8d
......@@ -2,9 +2,9 @@ const buildId = [
process.env.CI_COMMIT_REF_SLUG || 'prerelese',
(process.env.CI_COMMIT_SHA || 'gitsha').slice(0, 7)
].join('-');
const banner = (process.env.NODE_ENV === 'production')
const banner = process.env.BANNER || (process.env.NODE_ENV === 'production'
? false
: (process.env.NODE_ENV || 'development');
: (process.env.NODE_ENV || 'development'));
module.exports = {
siteMetadata: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment