Browse Source

Merge pull request '合并' (#215) from dev-zw into dev

pull/225/head
cp3hnu 9 months ago
parent
commit
9e7b07f998
6 changed files with 4 additions and 3 deletions
  1. +0
    -0
      k8s/build-java.sh
  2. +0
    -0
      k8s/build-node.sh
  3. +0
    -0
      k8s/build.sh
  4. +0
    -0
      k8s/build_and_deploy.sh
  5. +0
    -0
      k8s/deploy.sh
  6. +4
    -3
      react-ui/config/proxy.ts

+ 0
- 0
k8s/build-java.sh View File


+ 0
- 0
k8s/build-node.sh View File


+ 0
- 0
k8s/build.sh View File


+ 0
- 0
k8s/build_and_deploy.sh View File


+ 0
- 0
k8s/deploy.sh View File


+ 4
- 3
react-ui/config/proxy.ts View File

@@ -20,8 +20,9 @@ export default {
// localhost:8000/api/** -> https://preview.pro.ant.design/api/**
'/api/': {
// 要代理的地址
// target: 'http://172.20.32.181:31213', // 开发环境
target: 'http://172.168.15.80:8082',
// target: 'http://172.20.32.197:31213', // 开发环境
// target: 'http://172.20.32.235:31213', // 测试环境
target: 'http://172.20.32.44:8082',
// target: 'http://172.20.32.150:8082',
// 配置了这个可以从 http 代理到 https
// 依赖 origin 的功能可能需要这个,比如 cookie
@@ -29,7 +30,7 @@ export default {
pathRewrite: { '^/api': '' },
},
'/profile/avatar/': {
target: 'http://172.20.32.185:31213',
target: 'http://172.20.32.235:31213',
changeOrigin: true,
},
},


Loading…
Cancel
Save