chess: http path process_lib update

This commit is contained in:
bitful-pannul 2024-01-16 11:50:37 -03:00
parent 5c40a80ea3
commit 66261c37c3
3 changed files with 3 additions and 3 deletions

View File

@ -286,7 +286,7 @@ checksum = "c55d0c9dc43dedfd2414deb74ade67687749ef88b1d3482024d4c81d901a7a83"
[[package]]
name = "nectar_process_lib"
version = "0.5.0"
source = "git+ssh://git@github.com/uqbar-dao/process_lib.git?tag=v0.5.1-alpha#64d2856412c11c93b5f4e2f6d61b5111fa4bf84c"
source = "git+ssh://git@github.com/uqbar-dao/process_lib.git?rev=ed446df#ed446df53047e7421c5d325a98cbc030738b7fee"
dependencies = [
"anyhow",
"bincode",

View File

@ -16,7 +16,7 @@ pleco = "0.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
url = "*"
nectar_process_lib = { git = "ssh://git@github.com/uqbar-dao/process_lib.git", tag = "v0.5.1-alpha" }
nectar_process_lib = { git = "ssh://git@github.com/uqbar-dao/process_lib.git", rev = "ed446df" }
wit-bindgen = { git = "https://github.com/bytecodealliance/wit-bindgen", rev = "efcc759" }
[lib]

View File

@ -418,7 +418,7 @@ fn handle_http_request(
state: &mut ChessState,
http_request: &http::IncomingHttpRequest,
) -> anyhow::Result<()> {
if http_request.path()? != "games" {
if http_request.raw_path != "/games" {
return http::send_response(
http::StatusCode::NOT_FOUND,
None,