Skip to content

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

Update zt (#1139)

linke86a61596ba4
diff --git a/route/v2/zerotier.go b/route/v2/zerotier.go
index f27d420..c7a7205 100644
--- a/route/v2/zerotier.go
+++ b/route/v2/zerotier.go
@@ -16,7 +16,7 @@ func (s *CasaOS) SetZerotierNetworkStatus(ctx echo.Context, networkId string) er
ip := `,"via":"10.147.19.0"`
status := ctx.Request().PostFormValue("status")
if status == "online" {
- ip = ``
+ ip = `,"via":""`
}
body := `{
"routes": [