🉑 origin优化

This commit is contained in:
微凉
2021-01-11 16:53:48 +08:00
parent dcebf5257f
commit 858291876b
10 changed files with 70 additions and 43 deletions

View File

@@ -26,6 +26,6 @@ func ReadConf(config string) bool {
return false
}
log.Debugf("config:%+v",conf.Conf)
conf.Origins = strings.Split(conf.Conf.Info.SiteUrl,",")
conf.Origins = strings.Split(conf.Conf.Server.SiteUrl,",")
return true
}