An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Clean code
Daniel4749d0fca559
diff --git a/kernel/model/sync.go b/kernel/model/sync.goindex 7bd209ee9f..b1e15d1513 100644--- a/kernel/model/sync.go+++ b/kernel/model/sync.go@@ -716,11 +716,12 @@ func planSyncAfter(d time.Duration) {}func isProviderOnline(byHand bool) (ret bool) {- checkURL := util.GetCloudSyncServer()+ var checkURL stringskipTlsVerify := falsetimeout := 3000switch Conf.Sync.Provider {case conf.ProviderSiYuan:+ checkURL = util.GetCloudSyncServer()case conf.ProviderS3:checkURL = Conf.Sync.S3.EndpointskipTlsVerify = Conf.Sync.S3.SkipTlsVerify