Skip to content

Commit

Permalink
Merge pull request #610 from kinode-dao/release-candidate
Browse files Browse the repository at this point in the history
Release candidate 0.9.10
  • Loading branch information
dr-frmr authored Nov 19, 2024
2 parents efabf3c + 8e90118 commit 4464b78
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "kinode_lib"
authors = ["KinodeDAO"]
version = "0.9.9"
version = "0.9.10"
edition = "2021"
description = "A general-purpose sovereign cloud computing platform"
homepage = "https://kinode.org"
Expand Down
2 changes: 1 addition & 1 deletion kinode/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "kinode"
authors = ["KinodeDAO"]
version = "0.9.9"
version = "0.9.10"
edition = "2021"
description = "A general-purpose sovereign cloud computing platform"
homepage = "https://kinode.org"
Expand Down
2 changes: 1 addition & 1 deletion kinode/packages/homepage/ui/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ footer {
width: 100%;
height: 100%;
text-align: center;
background-color: light-dark(var(--off-black), var(--off-white));
background-color: rgb(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
Expand Down
12 changes: 10 additions & 2 deletions kinode/src/http/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ async fn serve(
.and(warp::filters::host::optional())
.and(warp::query::<HashMap<String, String>>())
.and(warp::body::content_length_limit(1024 * 16))
.and(warp::body::json())
.and(warp::body::bytes())
.and(warp::any().map(move || cloned_our.clone()))
.and(warp::any().map(move || encoded_keyfile.clone()))
.and_then(login_handler)),
Expand Down Expand Up @@ -332,10 +332,18 @@ async fn serve(
async fn login_handler(
host: Option<warp::host::Authority>,
query_params: HashMap<String, String>,
info: LoginInfo,
body: warp::hyper::body::Bytes,
our: Arc<String>,
encoded_keyfile: Arc<Vec<u8>>,
) -> Result<impl warp::Reply, warp::Rejection> {
let Ok(info) = serde_json::from_slice::<LoginInfo>(&body) else {
return Ok(warp::reply::with_status(
warp::reply::json(&"Failed to parse login info"),
StatusCode::BAD_REQUEST,
)
.into_response());
};

#[cfg(feature = "simulation-mode")]
let info = LoginInfo {
password_hash: "secret".to_string(),
Expand Down
2 changes: 1 addition & 1 deletion lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "lib"
authors = ["KinodeDAO"]
version = "0.9.9"
version = "0.9.10"
edition = "2021"
description = "A general-purpose sovereign cloud computing platform"
homepage = "https://kinode.org"
Expand Down

0 comments on commit 4464b78

Please sign in to comment.