deploy: auto commit repo-root changes 2026-07-13 22:38:58

This commit is contained in:
hajimi
2026-07-13 22:38:58 +08:00
parent af8941e880
commit 33687e31b7
6 changed files with 86 additions and 50 deletions
+9 -9
View File
@@ -1,7 +1,7 @@
import { isDevMode } from "@/utils/env";
const envBaseUrl = import.meta.env.VITE_APP_BASE_URL || "";
const envBaseUrl = 'https://test-server.sbnews.net/'
let baseUrl = `${envBaseUrl}/`;
let baseUrl = `${envBaseUrl}/`
//#endif
/*
* 微信小程序在`VITE_APP_BASE_URL`存在或`dev`模式下
@@ -10,14 +10,14 @@ let baseUrl = `${envBaseUrl}/`;
*/
//#ifdef MP-WEIXIN
baseUrl = isDevMode() || envBaseUrl ? baseUrl : "[baseUrl]";
baseUrl = envBaseUrl
//#endif
const config = {
version: "1.9.0", //版本号
version: '1.9.0', //版本号
baseUrl, //请求接口域名
urlPrefix: "api", //请求默认前缀
timeout: 60 * 1000, //请求超时时长
};
urlPrefix: 'api', //请求默认前缀
timeout: 60 * 1000 //请求超时时长
}
export default config;
export default config