This commit is contained in:
zhangjianjun 2026-03-25 13:49:47 +08:00
parent 4640ada822
commit 9a4ebab520
1 changed files with 1 additions and 1 deletions

View File

@ -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/, '')