fixed variable name
This commit is contained in:
@@ -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,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
|
||||||
|
|||||||
Reference in New Issue
Block a user