From 7590943e9d0991db040e023795b387aa92cf9f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=94=E5=BF=B5?= <12574910+72wo@users.noreply.github.com> Date: Sat, 7 Feb 2026 16:23:52 +0800 Subject: [PATCH] 1 --- common/contrib/files/local/local.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/contrib/files/local/local.go b/common/contrib/files/local/local.go index 7bb5da3f7..61750e9ee 100644 --- a/common/contrib/files/local/local.go +++ b/common/contrib/files/local/local.go @@ -55,7 +55,7 @@ func (l *Local) Upload(ctx g.Ctx) (string, error) { } // -------------------------- 拼接访问URL(原有逻辑不变) -------------------------- - accessURL := cool.Config.File.Domain + "/public/uploads/" + dir + "/" + fileName + accessURL := "http://" + cool.Config.File.Domain + cool.Config.Address + "/uploads/" + dir + "/" + fileName return accessURL, nil }