This commit is contained in:
cdle 2021-08-17 11:14:45 +08:00
parent c30184eafd
commit 1450562019
2 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ func initConfig() {
s, _ := ioutil.ReadAll(f) s, _ := ioutil.ReadAll(f)
if len(s) == 0 { if len(s) == 0 {
logs.Info("下载配置%s", name) logs.Info("下载配置%s", name)
r, err := httplib.Get(GhProxy + "https://raw.githubusercontent.com/cdle/xdd/main/conf/" + name).Response() r, err := httplib.Get(GhProxy + "https://raw.githubusercontent.com/cdle/xdd/main/conf/demo_" + name).Response()
if err == nil { if err == nil {
io.Copy(f, r.Body) io.Copy(f, r.Body)
} }