You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
832 B
TypeScript
38 lines
832 B
TypeScript
3 years ago
|
import { defineConfig } from 'umi';
|
||
|
|
||
|
export default defineConfig({
|
||
|
define: {
|
||
|
ENV: 'dev',
|
||
|
},
|
||
|
base: '/',
|
||
|
publicPath: '/',
|
||
|
proxy: {
|
||
|
'/gateway': {
|
||
|
// 'target': 'http://gateway',
|
||
|
target: 'https://yule-dev.njhtsz.com',
|
||
|
changeOrigin: true,
|
||
|
},
|
||
|
// '/gateway/idm': {
|
||
|
// target: 'http://192.168.20.5:9110',
|
||
|
// changeOrigin: true,
|
||
|
// pathRewrite: {
|
||
|
// '^/gateway/idm': '',
|
||
|
// },
|
||
|
// },
|
||
|
// '/gateway/idm': {
|
||
|
// target: 'http://localhost:9110',
|
||
|
// changeOrigin: true,
|
||
|
// pathRewrite: {
|
||
|
// '^/gateway/idm': '',
|
||
|
// },
|
||
|
// },
|
||
|
// '/gateway/esoaservice': {
|
||
|
// target: 'http://192.168.20.215:10100',
|
||
|
// changeOrigin: true,
|
||
|
// pathRewrite: {
|
||
|
// '^/gateway/esoaservice': '',
|
||
|
// },
|
||
|
// },
|
||
|
},
|
||
|
});
|