Skip to content

Commit

Permalink
fix(torii): use GET for blocks stream (#4990)
Browse files Browse the repository at this point in the history
Signed-off-by: 0x009922 <[email protected]>
  • Loading branch information
0x009922 authored Aug 21, 2024
1 parent b9f2844 commit 2810e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torii/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2810e1b

Please sign in to comment.