态势感知平台-账号密码登录及验证码接口对接治理平台登录接口
This commit is contained in:
@@ -38,12 +38,12 @@ export default (config: any) => {
|
||||
},
|
||||
proxy: {
|
||||
// 配置跨域代理
|
||||
'/gateway/official/u-auth/index/getCaptcha': {
|
||||
// target: 'http://223.76.236.155:20011', // 目标服务器地址
|
||||
target: 'http://222.20.126.217:9700', // 目标服务器地址
|
||||
changeOrigin: true, // 允许跨域
|
||||
rewrite: (path) => path.replace('/gateway/official/u-auth', '/gateway/u-auth') // 重写路径
|
||||
},
|
||||
// '/gateway/official/u-auth/index/getCaptcha': {
|
||||
// // target: 'http://223.76.236.155:20011', // 目标服务器地址
|
||||
// target: 'http://222.20.126.217:9700', // 目标服务器地址
|
||||
// changeOrigin: true, // 允许跨域
|
||||
// rewrite: (path) => path.replace('/gateway/official/u-auth', '/gateway/u-auth') // 重写路径
|
||||
// },
|
||||
'/gateway': {
|
||||
// target: 'http://223.76.236.155:20011', // 目标服务器地址
|
||||
target: 'http://222.20.126.217:10010', // 目标服务器地址
|
||||
|
||||
Reference in New Issue
Block a user