mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-06-16 05:55:33 +00:00
Update zt (#1139)
This commit is contained in:
parent
c9617e583f
commit
e86a61596b
@ -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": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user