You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
336 B
17 lines
336 B
// const remoteTarget = "http://10.168.1.60:8300";
|
|
const remoteTarget = 'http://47.109.27.8:8282/'
|
|
const localTarget = 'http://47.109.27.8:8282/'
|
|
|
|
const devProxy = (remote) => {
|
|
let config = {}
|
|
const target = remote ? remoteTarget : localTarget
|
|
|
|
return {
|
|
'/api': {
|
|
target,
|
|
secure: false,
|
|
},
|
|
}
|
|
}
|
|
|
|
module.exports = devProxy
|
|
|