This commit is contained in:
link 2023-05-26 18:37:16 +08:00 committed by GitHub
parent c9617e583f
commit e86a61596b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ func (s *CasaOS) SetZerotierNetworkStatus(ctx echo.Context, networkId string) er
ip := `,"via":"10.147.19.0"` ip := `,"via":"10.147.19.0"`
status := ctx.Request().PostFormValue("status") status := ctx.Request().PostFormValue("status")
if status == "online" { if status == "online" {
ip = `` ip = `,"via":""`
} }
body := `{ body := `{
"routes": [ "routes": [