瀏覽代碼

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 {
 type ProxyServerConf struct {
 	BaseConf
 	BaseConf
 	BindAddr      string   `json:"bind_addr"`
 	BindAddr      string   `json:"bind_addr"`
-	ListenPort    int64    `json:"bind_port"`
+	ListenPort    int64    `json:"listen_port"`
 	CustomDomains []string `json:"custom_domains"`
 	CustomDomains []string `json:"custom_domains"`
 	Locations     []string `json:"custom_locations"`
 	Locations     []string `json:"custom_locations"`