afc163
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
5 additions and
1 deletions
-
config/config.ts
-
src/app.tsx
|
|
|
@ -178,4 +178,7 @@ export default defineConfig({ |
|
|
|
esbuildMinifyIIFE: true, |
|
|
|
requestRecord: {}, |
|
|
|
exportStatic: {}, |
|
|
|
define: { |
|
|
|
'process.env.CI': process.env.CI, |
|
|
|
}, |
|
|
|
}); |
|
|
|
|
|
|
|
@ -16,7 +16,8 @@ import defaultSettings from '../config/defaultSettings'; |
|
|
|
import { errorConfig } from './requestErrorConfig'; |
|
|
|
import '@ant-design/v5-patch-for-react-19'; |
|
|
|
|
|
|
|
const isDev = process.env.NODE_ENV === 'development'; |
|
|
|
const isDev = |
|
|
|
process.env.NODE_ENV === 'development' || process.env.CI; |
|
|
|
const loginPath = '/user/login'; |
|
|
|
|
|
|
|
/** |
|
|
|
|