From 90b7cba68cceae6121f56f7cd6cf3d253219be78 Mon Sep 17 00:00:00 2001 From: gVisor bot 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"`