Rename window.env to window.config
Also normalize to camelCase for configs. // FREEBIE
This commit is contained in:
parent
75f4c3c522
commit
c83dbc1bf0
8 changed files with 12 additions and 12 deletions
2
main.js
2
main.js
|
@ -68,7 +68,7 @@ function createWindow () {
|
|||
query: {
|
||||
locale: locale,
|
||||
version: package_json.version,
|
||||
SERVER_URL: config.get('SERVER_URL'),
|
||||
serverUrl: config.get('serverUrl'),
|
||||
NODE_ENV: process.env.NODE_ENV
|
||||
}
|
||||
}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue