| @@ -20,8 +20,9 @@ export default { | |||||
| // localhost:8000/api/** -> https://preview.pro.ant.design/api/** | // localhost:8000/api/** -> https://preview.pro.ant.design/api/** | ||||
| '/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', | // target: 'http://172.20.32.150:8082', | ||||
| // 配置了这个可以从 http 代理到 https | // 配置了这个可以从 http 代理到 https | ||||
| // 依赖 origin 的功能可能需要这个,比如 cookie | // 依赖 origin 的功能可能需要这个,比如 cookie | ||||
| @@ -29,7 +30,7 @@ export default { | |||||
| pathRewrite: { '^/api': '' }, | pathRewrite: { '^/api': '' }, | ||||
| }, | }, | ||||
| '/profile/avatar/': { | '/profile/avatar/': { | ||||
| target: 'http://172.20.32.185:31213', | |||||
| target: 'http://172.20.32.235:31213', | |||||
| changeOrigin: true, | changeOrigin: true, | ||||
| }, | }, | ||||
| }, | }, | ||||