Commit f166ac1c authored by lain's avatar lain

Possibly grab api target from system environment

parent e228f6ac
......@@ -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: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment