mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-19 14:56:09 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
1958f59668
commit
ed42e5d384
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ func GetServerAddrs() (ret []string) {
|
|||
if ContainerAndroid != Container && ContainerHarmony != Container {
|
||||
ret = GetPrivateIPv4s()
|
||||
} else {
|
||||
// Android 上用不了 net.InterfaceAddrs() https://github.com/golang/go/issues/40569,所以前面使用启动内核传入的参数 localIPs
|
||||
// Android/鸿蒙上用不了 net.InterfaceAddrs() https://github.com/golang/go/issues/40569,所以前面使用启动内核传入的参数 localIPs
|
||||
ret = LocalIPs
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue