diff --git a/config.go b/config.go index 0bb41da..e6a79b5 100644 --- a/config.go +++ b/config.go @@ -8,7 +8,7 @@ import ( type Config struct { CacheRoot string `toml:"cache_root"` - MirrorURLs []string `toml:"mirror_url"` + MirrorURLs []string `toml:"mirror_urls"` MirroredRepos []string `toml:"mirrored_repos"` Port string `toml:"port"` Auth AuthConfig `toml:"auth"` diff --git a/deploy/pkgstash.toml.example b/deploy/pkgstash.toml.example index e675559..506f030 100644 --- a/deploy/pkgstash.toml.example +++ b/deploy/pkgstash.toml.example @@ -1,5 +1,5 @@ cache_root = "/home/ewpt3ch/dev/pacman-cache-server/tmprepo" -mirror_url = ["https://us.mirrors.cicku.me/archlinux/", +mirror_urls = ["https://us.mirrors.cicku.me/archlinux/", "https://losangeles.mirror.pkgbuild.com/", "https://mirror.givebytes.net/archlinux/"] # array of upstream repos this server caches see pacman.conf