mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
Fix: patch config field
This commit is contained in:
parent
532ec88964
commit
3f6c707aa9
|
@ -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"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user