Fix: patch config field
This commit is contained in:
parent
1e05ea63d6
commit
90b7cba68c
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ func configRouter() http.Handler {
|
||||||
|
|
||||||
type configSchema struct {
|
type configSchema struct {
|
||||||
Port *int `json:"port"`
|
Port *int `json:"port"`
|
||||||
SocksPort *int `json:"socket-port"`
|
SocksPort *int `json:"socks-port"`
|
||||||
RedirPort *int `json:"redir-port"`
|
RedirPort *int `json:"redir-port"`
|
||||||
AllowLan *bool `json:"allow-lan"`
|
AllowLan *bool `json:"allow-lan"`
|
||||||
Mode *T.Mode `json:"mode"`
|
Mode *T.Mode `json:"mode"`
|
||||||
|
|
Loading…
Reference in a new issue