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)
status := m["status"]
if status == "online" {
ip = `,"via":""`
ip = ``
}
body := `{
"routes": [