From 3f6c707aa9bd362dd3b6ab5ffe782720a1fb4eff Mon Sep 17 00:00:00 2001 From: Dreamacro <305009791@qq.com> Date: Sun, 23 Dec 2018 20:25:49 +0800 Subject: [PATCH] Fix: patch config field --- hub/route/configs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/route/configs.go b/hub/route/configs.go index 26d9ca4f..3895c955 100644 --- a/hub/route/configs.go +++ b/hub/route/configs.go @@ -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"`