Possibly grab api target from system environment

This commit is contained in:
lain 2019-06-11 12:03:58 +02:00
parent e228f6acaa
commit f166ac1ca6
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ try {
console.log('Local dev server settings not found (/config/local.json)')
}
const target = settings.target || 'http://localhost:4000/'
const target = settings.target || process.env.API_TARGET || 'http://localhost:4000/'
module.exports = {
build: {