Skip to content

Commit f423735

Browse files
authored
fix: start error (#57)
1 parent 600b895 commit f423735

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

client/.umirc.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import { defineConfig } from 'umi';
22
import routes from './src/config/routes';
3-
import { ANTD_VERSION, GI_SDK_APP_VERSION } from './src/constants/index';
43

54
process.env.MFSU_AD = 'none';
65

6+
export const ANTD_VERSION = '4.24.0';
7+
export const GI_SDK_APP_VERSION = '1.2.0';
8+
79
export default defineConfig({
810
// only proxy when using `umi dev`
911
// if the assets are built, will not proxy

client/src/constants/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,4 @@ export const CONSOLE_LINKS = [
2424
path: '/database',
2525
},
2626
];
27-
28-
export const ANTD_VERSION = '4.24.0';
29-
export const GI_SDK_APP_VERSION = '1.2.0';
3027
export const PROXY_HOST = `http://${window.location.hostname}:7001`;

0 commit comments

Comments
 (0)