取消公钥文件引用

This commit is contained in:
TsMask committed 2023-08-23 17:52:01 +08:00
1 parent f3d5a9ae75
commit 138e00caa2
4 files changed
+1 -22

No files matched your search

+1 -4
View File
@@ -37,9 +37,6 @@ type Config struct {
// FTP文件服务
FTPRoot string `json:"ftp_root"`
// 登录认证公钥
PublicKey string `json:"public_key"`
//证书配置
CA struct {
RootCert string `json:"root_cert"` //root CA证书存放路径
@@ -76,7 +73,7 @@ func Init(path string) {
if err != nil {
pwd = "."
}
path = pwd + "/conf/nbi_alarm_agent.json"
path = pwd + "/conf/nbi_alarm.json"
fmt.Println("path", path)
}