added multiple mirrors to round robin downloads from

This commit is contained in:
2026-04-20 22:18:22 -06:00
parent 6fdf5a4a52
commit 9fa2b93330
4 changed files with 24 additions and 10 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ func main() {
log.Fatal(err)
}
c := cache.NewCache(cfg.CacheRoot, cfg.MirrorURL, cfg.MirroredRepos)
c := cache.NewCache(cfg.CacheRoot, cfg.MirrorURLs, cfg.MirroredRepos)
srv := &Server{cfg: cfg, c: c}
mux := http.NewServeMux()