mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-08 17:12:28 +08:00
代码提醒,减少走弯路
This commit is contained in:
@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user