common.js
453 Bytes
const _ = require('lodash')
const isProd = process.env.NODE_ENV === 'production'
const isDev = process.env.NODE_ENV = 'development'
const config = {
api: {
// shop: 'http://172.16.6.201:8081'
shop: 'http://192.168.102.210:8088'
}
}
if (isProd) {
_.merge(config, {
api: {
// shop: 'http://172.16.6.201:8081'
shop: 'http://192.168.102.210:8088'
}
})
} if (isDev) {
_.merge(config, {
})
}
module.exports = config