Browse Source

更新config位置

jiantao 4 years ago
parent
commit
d19518ab38
1 changed files with 1 additions and 1 deletions
  1. 1 1
      adslib/config.go

+ 1 - 1
adslib/config.go

@@ -49,7 +49,7 @@ var once sync.Once
49 49
 
50 50
 func GetConf() *SvrConf {
51 51
 	once.Do(func() {
52
-		_, err := toml.DecodeFile("./conf/config.toml", &svrConf)
52
+		_, err := toml.DecodeFile("../conf/config.toml", &svrConf)
53 53
 		if err != nil {
54 54
 			panic(err)
55 55
 		}