代码提醒,减少走弯路

This commit is contained in:
zhangdaiscott
2022-03-02 15:29:32 +08:00
parent 472bf3f35a
commit 07c538a1b2
2 changed files with 7 additions and 2 deletions

View File

@ -105,8 +105,10 @@ module.exports = {
'/jeecg-boot': '' //默认所有请求都加了jeecg-boot前缀需要去掉
}
},*/
/* 注意jeecgboot前端做了改造此处不需要配置跨域和后台接口只需要改.env相关配置文件即可
issues/3462 很多人此处做了配置导致刷新前端404问题请一定注意*/
'/jeecg-boot': {
target: 'http://localhost:8080', //请求本地 需要jeecg-boot后台项目
target: 'http://localhost:8080',
ws: false,
changeOrigin: true
},