🐛 fix update can't start

pull/661/head
微凉 2022-02-18 18:49:40 +08:00
parent f2ec7884ec
commit 192d0f2bf3
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ func InitConf() {
if err != nil {
log.Fatalf("reading config file error:%s", err.Error())
}
conf.Conf = new(conf.Config)
conf.Conf = conf.DefaultConfig()
err = utils.Json.Unmarshal(config, conf.Conf)
if err != nil {
log.Fatalf("load config error: %s", err.Error())