mirror of
https://git.vectorsigma.ru/public/CasaOS.git
synced 2026-07-28 23:47:36 +00:00
Zt update (#1146)
This commit is contained in:
@@ -14,7 +14,9 @@ import (
|
||||
|
||||
func (s *CasaOS) SetZerotierNetworkStatus(ctx echo.Context, networkId string) error {
|
||||
ip := `,"via":"10.147.19.0"`
|
||||
status := ctx.Request().PostFormValue("status")
|
||||
m := make(map[string]string)
|
||||
ctx.Bind(&m)
|
||||
status := m["status"]
|
||||
if status == "online" {
|
||||
ip = `,"via":""`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user