diff --git a/Cargo.lock b/Cargo.lock index ddb2533..ef4adcf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -510,7 +510,7 @@ checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" [[package]] name = "swish" -version = "1.0.0" +version = "1.0.1" dependencies = [ "base64", "clap", diff --git a/Cargo.toml b/Cargo.toml index 1854849..cd3bcfc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "swish" -version = "1.0.0" +version = "1.0.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/api/mod.rs b/src/api/mod.rs index 036861f..c53fb64 100644 --- a/src/api/mod.rs +++ b/src/api/mod.rs @@ -16,7 +16,7 @@ use log; const DEFAULT_HEADERS: &[&str; 3] = &[ "User-Agent: swisstransfer-webext/1.0", "Cookie: webext=1", - "Referer: swish/0.1", + "Referer: swish/1.0.1", ]; fn new_easy2_data(