feat: 测试
This commit is contained in:
@@ -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',
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
@@ -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
@@ -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: { '^': '' },
|
||||
},
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user