Fix: updateConfig api crash

This commit is contained in:
Dreamacro
2018-08-26 22:43:38 +08:00
parent ad25a89dd2
commit 2a2e61652f
4 changed files with 22 additions and 9 deletions

View File

@ -23,6 +23,7 @@ type General struct {
AllowLan *bool `json:"allow-lan,omitempty"`
Port *int `json:"port,omitempty"`
SocksPort *int `json:"socks-port,omitempty"`
RedirPort *int `json:"redir-port,omitempty"`
LogLevel *string `json:"log-level,omitempty"`
}