fixed: proxy代理前缀冲突,导致地址指向错误,默认地址改为/proxy-default

This commit is contained in:
smileluck 2024-01-29 15:44:08 +08:00
parent 86b445c26a
commit 0645b5e16f

View File

@ -39,7 +39,7 @@ export function createServiceConfig(env: Env.ImportMeta) {
*/
export function createProxyPattern(key?: App.Service.OtherBaseURLKey) {
if (!key) {
return '/proxy';
return '/proxy-default';
}
return `/proxy-${key}`;