Skip to content

Commit 93e2e1f

Browse files
webpack config
1 parent 7b89c91 commit 93e2e1f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

web_site/frontend/config/dev.env.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ const merge = require('webpack-merge')
33
const prodEnv = require('./prod.env')
44

55
module.exports = merge(prodEnv, {
6-
NODE_ENV: '"development"'
6+
NODE_ENV: '"development"',
7+
API_ROOT: '"http://localhost:5000/api"',
78
})
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
'use strict'
22
module.exports = {
3-
NODE_ENV: '"production"'
3+
NODE_ENV: '"production"',
4+
API_ROOT: '"https://mathematician-bot.herokuapp.com/api"'
45
}

0 commit comments

Comments
 (0)