1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- /**
- * 在生产环境 代理是无法生效的,所以这里没有生产环境的配置
- * The agent cannot take effect in the production environment
- * so there is no configuration of the production environment
- * For details, please see
- * https://pro.ant.design/docs/deploy
- */
- export default {
- // dev: {
- // '/api/': {
- // target: 'http://uat.jishutao.com',
- // changeOrigin: true, //target为域名时设为true
- // },
- // '/managesignin':{
- // target: 'http://uat.jishutao.com',
- // changeOrigin: true, //target为域名时设为true
- // },
- // '/login':{
- // target: 'http://uat.jishutao.com',
- // changeOrigin: true, //target为域名时设为true
- // }
- // },
- dev: {
- '/api/': {
- target: 'http://172.16.0.188:8080',
- changeOrigin: false, //target为域名时设为true
- },
- '/managesignin':{
- target: 'http://172.16.0.188:8080',
- changeOrigin: false, //target为域名时设为true
- },
- '/login':{
- target: 'http://172.16.0.188:8080',
- changeOrigin: false, //target为域名时设为true
- }
- },
- test: {
- '/api/': {
- target: 'http://uat.jishutao.com',
- changeOrigin: true, //target为域名时设为true
- },
- },
- pre: {
- '/api/': {
- target: 'http://uat.jishutao.com',
- changeOrigin: true,
- },
- },
- };
|