Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/14943#issuecomment-3763972566

Daniel0770429c937d
diff --git a/kernel/util/path.go b/kernel/util/path.go
index e6587fcea5..48c46e346a 100644
--- a/kernel/util/path.go
+++ b/kernel/util/path.go
@@ -68,6 +68,8 @@ func GetServerAddrs() (ret []string) {
if ContainerAndroid != Container && ContainerHarmony != Container {
// Android 上用不了 net.InterfaceAddrs() https://github.com/golang/go/issues/40569,所以前面使用启动内核传入的参数 localIPs
ret = GetPrivateIPv4s()
+ } else {
+ ret = LocalIPs
}
ret = append(ret, LocalHost)