fixed variable name

This commit is contained in:
2026-04-21 08:18:27 -06:00
parent 76fe8c1e6e
commit 163e6b81bc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import (
type Config struct { type Config struct {
CacheRoot string `toml:"cache_root"` CacheRoot string `toml:"cache_root"`
MirrorURLs []string `toml:"mirror_url"` MirrorURLs []string `toml:"mirror_urls"`
MirroredRepos []string `toml:"mirrored_repos"` MirroredRepos []string `toml:"mirrored_repos"`
Port string `toml:"port"` Port string `toml:"port"`
Auth AuthConfig `toml:"auth"` Auth AuthConfig `toml:"auth"`
+1 -1
View File
@@ -1,5 +1,5 @@
cache_root = "/home/ewpt3ch/dev/pacman-cache-server/tmprepo" 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://losangeles.mirror.pkgbuild.com/",
"https://mirror.givebytes.net/archlinux/"] "https://mirror.givebytes.net/archlinux/"]
# array of upstream repos this server caches see pacman.conf # array of upstream repos this server caches see pacman.conf