mirror of
https://github.com/luscis/openlan.git
synced 2025-12-24 11:10:54 +08:00
docs: update install.md
This commit is contained in:
@@ -65,7 +65,7 @@ func (h Network) Post(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
cs.CorrectNetwork(obj)
|
||||
cs.CorrectNetwork(obj, "json")
|
||||
if obj := cs.GetNetwork(obj.Name); obj != nil {
|
||||
h.Switcher.AddNetwork(obj.Name)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user