From 2810e1b54e555534c791f5a5b462fc523ed116e7 Mon Sep 17 00:00:00 2001 From: 0x009922 <43530070+0x009922@users.noreply.github.com> Date: Wed, 21 Aug 2024 17:44:42 +0900 Subject: [PATCH] fix(torii): use `GET` for blocks stream (#4990) Signed-off-by: 0x009922 <43530070+0x009922@users.noreply.github.com> --- torii/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torii/src/lib.rs b/torii/src/lib.rs index 0fb03b55b64..ecc72d3d1c5 100644 --- a/torii/src/lib.rs +++ b/torii/src/lib.rs @@ -220,7 +220,7 @@ impl Torii { ) .route( uri::BLOCKS_STREAM, - post({ + get({ let kura = self.kura.clone(); move |ws: WebSocketUpgrade| { core::future::ready(ws.on_upgrade(|ws| async move {