🔧 change config

This commit is contained in:
微凉
2022-01-14 20:10:35 +08:00
parent 55d244b726
commit fea8b376f8
4 changed files with 14 additions and 8 deletions

View File

@ -33,7 +33,7 @@ func InitConf() {
}
log.Debugf("config:%+v", conf.Conf)
// update config.json struct
confBody, err := utils.Json.Marshal(conf.Conf)
confBody, err := utils.Json.MarshalIndent(conf.Conf, "", " ")
if err != nil {
log.Fatalf("marshal config error:%s", err.Error())
}