123456789101112131415161718192021222324252627282930313233343536 |
- export default {
- dev: {
- '/Bug/api': {
- target: 'http://localhost:8090/',
- changeOrigin: true,
- pathRewrite: {
- '^/Bug/api': '/Bug/api',
- },
- }
- },
- test: {
- '/api/': {
- target: 'https://preview.pro.ant.design',
- changeOrigin: true,
- pathRewrite: {
- '^': '',
- },
- },
- },
- pre: {
- '/api/': {
- target: 'your pre url',
- changeOrigin: true,
- pathRewrite: {
- '^': '',
- },
- },
- },
- };
|