Fix: patch config field
This commit is contained in:
parent
532ec88964
commit
3f6c707aa9
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