修改接口

This commit is contained in:
范强强
2024-03-12 11:09:54 +08:00
parent a244ea27e1
commit 0773d4ab11
7 changed files with 21 additions and 19 deletions
+3 -3
View File
@@ -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前缀,需要去掉
}
}
}