Some checks failed
Build and Push Docker Image / build (push) Failing after 1m54s
# Conflicts: # .umirc.ts
32 lines
783 B
TypeScript
32 lines
783 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/': {
|
|
<<<<<<< HEAD
|
|
// target: 'http://yt:8003',
|
|
target: 'http://10.39.13.80:8001',
|
|
// target: 'https://weapp-api.linyikj.com.cn/',
|
|
=======
|
|
target: 'http://yt:8001',
|
|
// target: 'http://10.39.13.80:8001',
|
|
>>>>>>> 1275c157f58b27d4d2b966e91a73bab4f3360be2
|
|
// target: 'http://we6f9c65.natappfree.cc',
|
|
// target: 'https://loanos-test.nchl.net/',
|
|
changeOrigin: true,
|
|
pathRewrite: { '^': '' },
|
|
},
|
|
},
|
|
});
|