From 2b6a185cf1841c7a9869b2ba779bc3997f023439 Mon Sep 17 00:00:00 2001 From: a12110 Date: Fri, 10 Apr 2026 16:00:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9:=20web/docker=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E4=B8=8B=E8=B5=84=E6=BA=90=E8=BF=94=E5=9B=9E=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E4=BB=8E=E5=8E=9F=E6=9C=AC=E7=9A=84=E5=9B=BA=E5=AE=9A?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E4=BF=AE=E6=94=B9=E4=B8=BA=E7=9B=B8=E5=AF=B9?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/oss.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/oss.ts b/src/utils/oss.ts index a5088f5..bfeb0a2 100644 --- a/src/utils/oss.ts +++ b/src/utils/oss.ts @@ -50,7 +50,7 @@ class OSS { await this.ensureInit(); const safePath = normalizeUserPath(userRelPath); // URL 始终使用 /,所以这里需要将系统分隔符转回 / - let url = `http://127.0.0.1:10588/${prefix}/`; + let url = `/${prefix}/`; if (isEletron()) url = `http://localhost:${process.env.PORT}/${prefix}/`; return `${url}${safePath.split(path.sep).join("/")}`; }