mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-11-30 01:44:58 +03:00
chess: http path process_lib update
This commit is contained in:
parent
5c40a80ea3
commit
66261c37c3
2
modules/chess/chess/Cargo.lock
generated
2
modules/chess/chess/Cargo.lock
generated
@ -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",
|
||||
|
@ -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]
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user