feat: separate subscription base url

This commit is contained in:
JetSprow
2026-04-29 13:46:10 +10:00
parent 68eac100f2
commit a0c1a28f5a
14 changed files with 80 additions and 26 deletions

View File

@@ -132,7 +132,7 @@ async function buildActionUrl(pathname: string, token: string, options: { header
allowRequestFallback: true,
});
if (!baseUrl) {
throw new Error("请先在系统设置中填写站点域名");
throw new Error("请先在系统设置中填写网站 URL");
}
const url = new URL(pathname, baseUrl);