Ver código fonte

show "Port" incorrectly in dashboard

XueBing 8 anos atrás
pai
commit
a4c05e6ff9
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/models/config/config.go

+ 1 - 1
src/models/config/config.go

@@ -32,7 +32,7 @@ type BaseConf struct {
 type ProxyServerConf struct {
 	BaseConf
 	BindAddr      string   `json:"bind_addr"`
-	ListenPort    int64    `json:"bind_port"`
+	ListenPort    int64    `json:"listen_port"`
 	CustomDomains []string `json:"custom_domains"`
 	Locations     []string `json:"custom_locations"`