feat(updater)!: add option to use insecure transport protocol (#1814)

This commit is contained in:
Amr Bashir
2024-09-24 18:38:53 +03:00
committed by GitHub
parent e564e2aa91
commit 04a0aea0ab
5 changed files with 71 additions and 31 deletions
+3
View File
@@ -71,6 +71,9 @@ pub enum Error {
InvalidHeaderValue(#[from] http::header::InvalidHeaderValue),
#[error(transparent)]
InvalidHeaderName(#[from] http::header::InvalidHeaderName),
/// The configured updater endpoint must use a secure protocol like `https`
#[error("The configured updater endpoint must use a secure protocol like `https`.")]
InsecureTransportProtocol,
#[error(transparent)]
Tauri(#[from] tauri::Error),
}