From a7602018176ee34e055a2877c1b54bd0c950440d Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期五, 01 十一月 2019 16:24:05 +0800
Subject: [PATCH] fix
---
extend/config/config.go | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/extend/config/config.go b/extend/config/config.go
index 4251374..30f714a 100644
--- a/extend/config/config.go
+++ b/extend/config/config.go
@@ -11,8 +11,8 @@
ServerId string `mapstructure: "serverId"`
ServerIp string `mapstructure: "serverIp"`
VideoPort string `mapstructure: "videoPort"`
- NginxIp string `mapstructure: "ngxIp"`
- NginxPort string `mapstructure: "ngxPort"`
+ NgxIp string `mapstructure: "ngxIp"`
+ NgxPort string `mapstructure: "ngxPort"`
}
var serverList = &server{}
@@ -32,6 +32,6 @@
for _,s :=range *serverList {
si := s
ServerMap[si.ServerId] = "http://"+si.ServerIp+":"+si.VideoPort+"/getRecordVideoPath"
- NgxMap[si.ServerId] = "http://"+si.NginxIp+":"+si.NginxPort+"/videosource"
+ NgxMap[si.ServerId] = "http://"+si.NgxIp+":"+si.NgxPort+"/videosource"
}
}
\ No newline at end of file
--
Gitblit v1.8.0