修改接口
This commit is contained in:
@@ -82,16 +82,16 @@ module.exports = {
|
||||
ws: false,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
'/laws-sinotruk': '' //默认所有请求都加了jero-boot前缀,需要去掉
|
||||
'/byd-structuredplugins-serve ': '' //默认所有请求都加了jero-boot前缀,需要去掉
|
||||
}
|
||||
}, */
|
||||
'/laws-sinotruk': {
|
||||
'/byd-structuredplugins-serve': {
|
||||
host: '0.0.0.0',
|
||||
target: 'http://localhost:8184',
|
||||
ws: false,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
// '/laws-sinotruk': '' // 默认所有请求都加了jero-boot前缀,需要去掉
|
||||
// '/byd-structuredplugins-serve ': '' // 默认所有请求都加了jero-boot前缀,需要去掉
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user