From d02c7b58e7c25c548de413b74592b82fc30322a3 Mon Sep 17 00:00:00 2001 From: pg9182 <96569817+pg9182@users.noreply.github.com> Date: Sun, 20 Nov 2022 03:24:54 -0500 Subject: pkg/atlas: Add ATLAS_API0_REGION_MAP config option, use pkg/regionmap by default --- pkg/atlas/config.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/atlas/config.go') diff --git a/pkg/atlas/config.go b/pkg/atlas/config.go index 4f411bc..149c9ab 100644 --- a/pkg/atlas/config.go +++ b/pkg/atlas/config.go @@ -100,6 +100,10 @@ type Config struct { // allowed. API0_MinimumLauncherVersion string `env:"ATLAS_API0_MINIMUM_LAUNCHER_VERSION"` + // Region mapping to use for server list. If set to an empty string or + // "none", region maps are disabled. Options: none, default. + API0_RegionMap string `env:"ATLAS_API0_REGION_MAP?=default"` + // The time after registration for a gameserver to complete verification by. API0_ServerList_VerifyTime time.Duration `env:"ATLAS_API0_SERVERLIST_VERIFY_TIME=10s"` -- cgit v1.2.3