This commit is contained in:
parent
4640ada822
commit
9a4ebab520
|
|
@ -9,7 +9,7 @@ const isDev = process.env.DEV
|
||||||
console.log('isDev', isDev)
|
console.log('isDev', isDev)
|
||||||
module.exports = {
|
module.exports = {
|
||||||
'/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/',
|
||||||
// target: "http://10.3.0.24:9211/",
|
// target: "http://10.3.0.24:9211/",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path) => path.replace(/^\/companyHome/, '')
|
rewrite: (path) => path.replace(/^\/companyHome/, '')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue