Update zt

This commit is contained in:
LinkLeong 2023-05-26 11:36:40 +01:00
parent c9617e583f
commit ffce72bbf1

View File

@ -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": [