diff --git a/conf/demo_config_.yaml b/conf/demo_config.yaml similarity index 100% rename from conf/demo_config_.yaml rename to conf/demo_config.yaml diff --git a/models/config.go b/models/config.go index 2d3b37e..fab7202 100644 --- a/models/config.go +++ b/models/config.go @@ -60,7 +60,7 @@ func initConfig() { s, _ := ioutil.ReadAll(f) if len(s) == 0 { 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 { io.Copy(f, r.Body) }