From ffce72bbf11a5bd873cf16cbf3ed20430f3e0a0e Mon Sep 17 00:00:00 2001 From: LinkLeong Date: Fri, 26 May 2023 11:36:40 +0100 Subject: [PATCH] Update zt --- route/v2/zerotier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": [