Socket update (#1154)

This commit is contained in:
link 2023-05-31 18:02:46 +08:00 committed by GitHub
parent 94dd2e00c7
commit 9bfe37305c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ func (s *CasaOS) SetZerotierNetworkStatus(ctx echo.Context, networkId string) er
ctx.Bind(&m) ctx.Bind(&m)
status := m["status"] status := m["status"]
if status == "online" { if status == "online" {
ip = `,"via":""` ip = ``
} }
body := `{ body := `{
"routes": [ "routes": [