Fix: patch config field

This commit is contained in:
Dreamacro 2018-12-23 20:25:49 +08:00
parent 532ec88964
commit 3f6c707aa9

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"`