Fix: patch config field

This commit is contained in:
gVisor bot 2018-12-23 20:25:49 +08:00
parent 1e05ea63d6
commit 90b7cba68c

View file

@ -23,7 +23,7 @@ func configRouter() http.Handler {
type configSchema struct {
Port *int `json:"port"`
SocksPort *int `json:"socket-port"`
SocksPort *int `json:"socks-port"`
RedirPort *int `json:"redir-port"`
AllowLan *bool `json:"allow-lan"`
Mode *T.Mode `json:"mode"`