浏览代码

Update zt (#1139)

link 2 年之前
父节点
当前提交
e86a61596b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      route/v2/zerotier.go

+ 1 - 1
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": [