Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: S3 synchronization online check not using configured endpoint Fix https://github.com/siyuan-note/siyuan/issues/7831

Liang Ding4fa0c283ff35
diff --git a/kernel/util/net.go b/kernel/util/net.go
index d742d18303..7da8f1e38d 100644
--- a/kernel/util/net.go
+++ b/kernel/util/net.go
@@ -59,7 +59,7 @@ func IsOnline(checkURL string) bool {
func isOnline(checkURL string) bool {
c := req.C().SetTimeout(1 * time.Second)
- _, err := c.R().Head("https://www.baidu.com")
+ _, err := c.R().Head(checkURL)
return nil == err
}