aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiley <49880817+DerZombiiie@users.noreply.github.com>2022-04-21 12:37:05 +0200
committerGitHub <noreply@github.com>2022-04-21 12:37:05 +0200
commit6212e5ec77416e81f5ad5b4a06536e391b9bc432 (patch)
treea235f9ed6473e3e0f1a0af5a72a7da454445a0fe
parentb077985a54e8711c22fa6ea656877b6c60fe19ef (diff)
Update config.go
-rw-r--r--config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.go b/config.go
index 65de9b8..35ac9ac 100644
--- a/config.go
+++ b/config.go
@@ -101,6 +101,7 @@ func FallbackServers(server string) []string {
if len(conf.Servers) == 0 {
return fallbacks
}
+
return append(fallbacks, conf.Servers[0].Name)
} else {
return append(fallbacks, conf.FallbackServers...)