feat: 测试

This commit is contained in:
luchang
2024-05-31 13:37:52 +08:00
parent 47941ad9c0
commit 40b3be8a8d
13 changed files with 70 additions and 169 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { defineConfig } from '@umijs/max';
export default defineConfig({
define: {
'process.env': {
API_HOST_URL: 'http://localhost:4399',
API_HOST_URL: 'http://127.0.0.1:4399',
},
},
});
+1 -1
View File
@@ -3,7 +3,7 @@ import { defineConfig } from '@umijs/max';
export default defineConfig({
define: {
'process.env': {
API_HOST_URL: 'http://localhost:4399',
API_HOST_URL: 'https://api.easy-trip.world/api',
},
},
});
+1 -1
View File
@@ -15,7 +15,7 @@ const Settings: ProLayoutProps & {
fixedHeader: false,
fixSiderbar: true,
colorWeak: false,
title: '依',
title: '依',
pwa: true,
logo: 'https://polaris-frontend.oss-cn-shanghai.aliyuncs.com/yitu_image/logo.png',
iconfontUrl: '',
+1 -2
View File
@@ -9,7 +9,7 @@
*
* @doc https://umijs.org/docs/guides/proxy
*/
const { API_HOST_URL = 'localhost:3000' } = process.env;
const { API_HOST_URL = 'localhost:4399' } = process.env;
export default {
// 如果需要自定义本地开发服务器 请取消注释按需调整
dev: {
@@ -23,5 +23,4 @@ export default {
pathRewrite: { '^': '' },
},
},
};