Many improvemtns and fixes related to decoupling of svelte and rust on android.
This commit is contained in:
@@ -49,6 +49,7 @@ impl HttpClient {
|
||||
pub fn new(config: HttpConfig) -> Result<Self, String> {
|
||||
let client = Client::builder()
|
||||
.timeout(config.timeout)
|
||||
.https_only(true)
|
||||
.build()
|
||||
.map_err(|e| format!("Failed to create HTTP client: {}", e))?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user