chore: 新增dev环境配置

This commit is contained in:
xlsea
2024-09-12 16:28:28 +08:00
parent 85f6c31878
commit 6741ef6664
5 changed files with 44 additions and 9 deletions

View File

@ -60,7 +60,7 @@ export function getServiceBaseURL(env: Env.ImportMeta, isProxy: boolean) {
});
return {
baseURL: isProxy ? proxyPattern : baseURL + proxyPattern,
baseURL: isProxy ? proxyPattern : (baseURL || '') + proxyPattern,
otherBaseURL
};
}