态势感知平台-全球开源风险态势感知监控中心数据概览接口对接
This commit is contained in:
@@ -44,11 +44,11 @@ export default (config: any) => {
|
||||
// changeOrigin: true, // 允许跨域
|
||||
// rewrite: (path) => path.replace('/gateway/official/u-auth', '/gateway/u-auth') // 重写路径
|
||||
// },
|
||||
'/gateway': {
|
||||
'/api': {
|
||||
// target: 'http://223.76.236.155:20011', // 目标服务器地址
|
||||
target: 'http://222.20.126.217:10010', // 目标服务器地址
|
||||
target: 'http://222.20.126.217:8100', // 目标服务器地址
|
||||
changeOrigin: true, // 允许跨域
|
||||
rewrite: (path) => path.replace(/^\/gateway/, '/gateway'), // 重写路径
|
||||
rewrite: (path) => path.replace(/^\/api/, '/api'), // 重写路径
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user