Browse Source

Update proxy.ts

master-fzznrj423
fanshuai 1 year ago
parent
commit
a3ee9411aa
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,9 +15,9 @@ export default {
// localhost:8000/api/** -> https://preview.pro.ant.design/api/**
'/api/': {
// 要代理的地址
target: 'ci4s-gateway-service.argo.svc: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
// 依赖 origin 的功能可能需要这个,比如 cookie
changeOrigin: true,


Loading…
Cancel
Save