Skip to content

CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.

Socket update (#1154)

link9bfe37305cf4
diff --git a/route/v2/zerotier.go b/route/v2/zerotier.go
index 451fd84..3e54aeb 100644
--- a/route/v2/zerotier.go
+++ b/route/v2/zerotier.go
@@ -18,7 +18,7 @@ func (s *CasaOS) SetZerotierNetworkStatus(ctx echo.Context, networkId string) er
ctx.Bind(&m)
status := m["status"]
if status == "online" {
- ip = `,"via":""`
+ ip = ``
}
body := `{
"routes": [