From 2bc63ddaf29e6ec8a35795437f7a5dc9348958cf Mon Sep 17 00:00:00 2001 From: Hinton Date: Wed, 13 Sep 2023 12:03:07 +0200 Subject: [PATCH] We should use the same urls for debug and release since it could otherwise cause confusion. --- crates/bitwarden/src/client/client_settings.rs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/crates/bitwarden/src/client/client_settings.rs b/crates/bitwarden/src/client/client_settings.rs index 74a8080a1..68ef7b3a9 100644 --- a/crates/bitwarden/src/client/client_settings.rs +++ b/crates/bitwarden/src/client/client_settings.rs @@ -34,19 +34,6 @@ pub struct ClientSettings { pub device_type: DeviceType, } -#[cfg(debug_assertions)] -impl Default for ClientSettings { - fn default() -> Self { - Self { - identity_url: "https://localhost:8080/identity".into(), - api_url: "https://localhost:8080/api".into(), - user_agent: "Bitwarden Rust-SDK".into(), - device_type: DeviceType::SDK, - } - } -} - -#[cfg(not(debug_assertions))] impl Default for ClientSettings { fn default() -> Self { Self {