diff --git a/voxygen/src/main.rs b/voxygen/src/main.rs index b31bef5e61..ffd3e9c593 100644 --- a/voxygen/src/main.rs +++ b/voxygen/src/main.rs @@ -31,6 +31,9 @@ use crate::{ settings::Settings }; +/// The URL of the default public server that Voxygen will connect to +const DEFAULT_PUBLIC_SERVER: &'static str = "server.veloren.net"; + /// A type used to store state that is shared between all play states pub struct GlobalState { settings: Settings, diff --git a/voxygen/src/menu/main/ui.rs b/voxygen/src/menu/main/ui.rs index c5e7f83504..b20266a93c 100644 --- a/voxygen/src/menu/main/ui.rs +++ b/voxygen/src/menu/main/ui.rs @@ -1,4 +1,5 @@ use crate::{ + DEFAULT_PUBLIC_SERVER, render::Renderer, ui::{self, ScaleMode, Ui}, window::Window, @@ -137,7 +138,7 @@ impl MainMenuUi { font_metamorph, font_opensans, username: "Username".to_string(), - server_address: "veloren.mac94.de".to_string(), + server_address: DEFAULT_PUBLIC_SERVER.to_string(), login_error: None, connecting: None, }