ソースを参照

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"`