소스 검색

show "Port" incorrectly in dashboard

XueBing 8 년 전
부모
커밋
a4c05e6ff9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"`