salary-management-oneself/config/config.dev.ts

38 lines
814 B
TypeScript
Raw Permalink Normal View History

2022-08-04 15:20:59 +08:00
import { defineConfig } from 'umi';
export default defineConfig({
define: {
ENV: 'dev',
},
base: '/',
publicPath: '/',
proxy: {
2022-11-18 08:38:28 +08:00
// '/gateway': {
// // 'target': 'http://gateway',
// target: 'https://yule-dev.njhtsz.com',
2022-08-04 15:20:59 +08:00
// changeOrigin: true,
// },
2022-11-18 08:38:28 +08:00
'/api': {
2024-10-18 15:11:20 +08:00
target: 'http://192.168.1.78:7603/api',
2022-11-18 08:38:28 +08:00
changeOrigin: true,
pathRewrite: {
'^/api': '',
},
},
2022-08-04 15:20:59 +08:00
// '/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': '',
// },
// },
},
});