Browse Source

Update proxy.ts

master-fzznrj423
fanshuai 1 year ago
parent
commit
f41a33e940
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      react-ui/config/proxy.ts

+ 2
- 2
react-ui/config/proxy.ts View File

@@ -15,8 +15,8 @@ export default {
// localhost:8000/api/** -> https://preview.pro.ant.design/api/** // localhost:8000/api/** -> https://preview.pro.ant.design/api/**
'/api/': { '/api/': {
// 要代理的地址 // 要代理的地址
target: 'ci4s-gateway-service.argo.svc:8082',
// target: 'http://172.20.32.98:8082',
// target: 'http://172.20.32.181:31205',
target: 'http://172.20.32.98:8082',
// target: 'http://172.20.32.150:8082', // target: 'http://172.20.32.150:8082',
// 配置了这个可以从 http 代理到 https // 配置了这个可以从 http 代理到 https
// 依赖 origin 的功能可能需要这个,比如 cookie // 依赖 origin 的功能可能需要这个,比如 cookie


Loading…
Cancel
Save