This commit is contained in:
parent
8b4832ca45
commit
e954802cb5
|
|
@ -5,7 +5,7 @@ const isDev = process.env.DEV
|
||||||
console.log("isDev:" + isDev)
|
console.log("isDev:" + isDev)
|
||||||
export default {
|
export default {
|
||||||
'/companyHome': {
|
'/companyHome': {
|
||||||
target: isDev ? "http://10.3.0.7:9999/":'https://companyapi.batiao8.com/',
|
target: isDev ? "http://10.3.0.7:9999/" : 'http://yintai.batiao8.com/',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path) => path.replace(/^\/companyHome/, '')
|
rewrite: (path) => path.replace(/^\/companyHome/, '')
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue