fix: Use env variable for paypal donations

This commit is contained in:
Bouncey
2018-12-01 11:23:08 +00:00
committed by mrugesh mohapatra
parent 6475eadf82
commit 8870a063e4
3 changed files with 7 additions and 5 deletions

View File

@ -192,7 +192,8 @@ exports.onCreateWebpackConfig = ({ stage, rules, plugins, actions }) => {
),
STRIPE_PUBLIC_KEY: JSON.stringify(process.env.STRIPE_PUBLIC_KEY || ''),
ROLLBAR_CLIENT_ID: JSON.stringify(process.env.ROLLBAR_CLIENT_ID || ''),
ENVIRONMENT: JSON.stringify(process.env.NODE_ENV || 'development')
ENVIRONMENT: JSON.stringify(process.env.NODE_ENV || 'development'),
PAYPAL_SUPPORTERS: JSON.stringify(process.env.PAYPAL_SUPPORTERS || 404)
}),
new RmServiceWorkerPlugin()
]