pay-admin/.umirc.ts
uiuJun 7545067d68
All checks were successful
Build and Push Docker Image / build (push) Successful in 3m4s
fix:修改机构相关的文件结构
2025-09-10 19:10:17 +08:00

28 lines
683 B
TypeScript

import { defineConfig } from '@umijs/max';
export default defineConfig({
antd: {},
access: {},
model: {},
initialState: {},
request: {},
layout: {},
npmClient: 'npm',
define: {
'process.env.TOKEN_NAME': process.env.TOKEN_NAME,
'process.env.GUARD_NAME': process.env.GUARD_NAME,
},
proxy: {
'/api/': {
// target: 'http://yt:8003',
target: 'http://10.39.13.80:8001',
// target: 'http://10.39.67.86:8001/',
// target: 'https://test-admin.linyikj.com.cn/',
// target: 'http://we6f9c65.natappfree.cc',
// target: 'https://loanos-test.nchl.net/',
changeOrigin: true,
pathRewrite: { '^': '' },
},
},
});