Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion client/.umirc.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { defineConfig } from 'umi';
import routes from './src/config/routes';
import { ANTD_VERSION, GI_SDK_APP_VERSION } from './src/constants/index';

process.env.MFSU_AD = 'none';

export const ANTD_VERSION = '4.24.0';
export const GI_SDK_APP_VERSION = '1.2.0';

export default defineConfig({
// only proxy when using `umi dev`
// if the assets are built, will not proxy
Expand Down
3 changes: 0 additions & 3 deletions client/src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,4 @@ export const CONSOLE_LINKS = [
path: '/database',
},
];

export const ANTD_VERSION = '4.24.0';
export const GI_SDK_APP_VERSION = '1.2.0';
export const PROXY_HOST = `http://${window.location.hostname}:7001`;