All checks were successful
Build and Push Docker Image / build (push) Successful in 4m25s
28 lines
622 B
TypeScript
28 lines
622 B
TypeScript
import { defineConfig } from '@umijs/max';
|
|
|
|
export default defineConfig({
|
|
antd: {},
|
|
access: {},
|
|
model: {},
|
|
initialState: {},
|
|
request: {},
|
|
layout: {},
|
|
//ai 加的 mfsu
|
|
mfsu: false,
|
|
favicons: ['/favicon.ico'],
|
|
npmClient: 'npm',
|
|
define: {
|
|
'process.env.TOKEN_NAME': process.env.TOKEN_NAME,
|
|
'process.env.GUARD_NAME': process.env.GUARD_NAME,
|
|
},
|
|
proxy: {
|
|
'/api/': {
|
|
// target: 'http://10.39.13.78:8001/',
|
|
target: 'https://test-company.linyikj.com.cn/',
|
|
// target: 'https://company.linyikj.com.cn/',
|
|
changeOrigin: true,
|
|
pathRewrite: { '^': '' },
|
|
},
|
|
},
|
|
});
|