From 163e6b81bcc6922b76efe60d7226ad22a4a2ac3c Mon Sep 17 00:00:00 2001 From: Eric Phillips Date: Tue, 21 Apr 2026 08:18:27 -0600 Subject: [PATCH] fixed variable name --- config.go | 2 +- deploy/pkgstash.toml.example | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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