Improve error handling

This commit is contained in:
Tom Moor
2018-11-03 21:47:46 -07:00
parent 21b1c0747c
commit 6418712c47
5 changed files with 27 additions and 8 deletions

View File

@@ -16,7 +16,8 @@ const definePlugin = new webpack.DefinePlugin({
DEPLOYMENT: JSON.stringify(process.env.DEPLOYMENT || 'hosted'),
'process.env': {
URL: JSON.stringify(process.env.URL),
SLACK_KEY: JSON.stringify(process.env.SLACK_KEY)
SLACK_KEY: JSON.stringify(process.env.SLACK_KEY),
SUBDOMAINS_ENABLED: JSON.stringify(process.env.SUBDOMAINS_ENABLED)
}
});