mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-06-16 05:55:33 +00:00
Socket update (#1154)
This commit is contained in:
parent
94dd2e00c7
commit
9bfe37305c
@ -18,7 +18,7 @@ func (s *CasaOS) SetZerotierNetworkStatus(ctx echo.Context, networkId string) er
|
|||||||
ctx.Bind(&m)
|
ctx.Bind(&m)
|
||||||
status := m["status"]
|
status := m["status"]
|
||||||
if status == "online" {
|
if status == "online" {
|
||||||
ip = `,"via":""`
|
ip = ``
|
||||||
}
|
}
|
||||||
body := `{
|
body := `{
|
||||||
"routes": [
|
"routes": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user