DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

a65a484187850c8f9f44bd076fd2b30990dcd047 — Jonni Liljamo 1 year, 9 months ago 343934c
feat(client): change api_server to server_address in CfgDev
1 files changed, 3 insertions(+), 3 deletions(-)

M client/src/cfg/mod.rs
M client/src/cfg/mod.rs => client/src/cfg/mod.rs +3 -3
@@ 70,14 70,14 @@ impl Default for CfgUser {
/// Settings that the user has no access to, or can only access through developer settings
#[derive(Serialize, Deserialize, Resource, Debug, Component, PartialEq, Clone)]
pub struct CfgDev {
    /// API Server
    pub api_server: String,
    /// Server
    pub server_address: String,
}

impl Default for CfgDev {
    fn default() -> Self {
        CfgDev {
            api_server: "http://localhost:8080/api".to_string(),
            server_address: "http://127.0.0.1:14191".to_string(),
        }
    }
}