Skip to content

Commit

Permalink
Fix: patch config field
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamacro committed Dec 23, 2018
1 parent 532ec88 commit 3f6c707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hub/route/configs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 3f6c707

Please sign in to comment.