mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-11-06 14:49:52 +00:00
Update zt
This commit is contained in:
parent
ffce72bbf1
commit
361446e953
@ -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":""`
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user