aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/src/lib.rs
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-07-21 21:42:47 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-07-21 21:42:47 +0200
commit1011015b29c00480b1a7bcb5e2d98abdb363fc75 (patch)
treef3aababb022dca87a12124ae46c5d1f75eeab14c /planetwars-server/src/lib.rs
parentb84e9be9d64bad2b1a44f34c499de7dd0525f2b6 (diff)
downloadplanetwars.dev-1011015b29c00480b1a7bcb5e2d98abdb363fc75.tar.xz
planetwars.dev-1011015b29c00480b1a7bcb5e2d98abdb363fc75.zip
show match url in planetwars_client
Diffstat (limited to 'planetwars-server/src/lib.rs')
-rw-r--r--planetwars-server/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/planetwars-server/src/lib.rs b/planetwars-server/src/lib.rs
index c8585f8..050048c 100644
--- a/planetwars-server/src/lib.rs
+++ b/planetwars-server/src/lib.rs
@@ -45,6 +45,9 @@ pub struct GlobalConfig {
/// this will be used when running bots
pub container_registry_url: String,
+ /// webserver root url, used to construct links
+ pub root_url: String,
+
/// directory where bot code will be stored
pub bots_directory: String,
/// directory where match logs will be stored