We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c99ae9 commit 99d49a9Copy full SHA for 99d49a9
ee/tabby-webserver/src/lib.rs
@@ -47,7 +47,7 @@ pub async fn attach_webserver(
47
routing::post(graphql::<Arc<Schema>>).with_state(ctx.clone()),
48
)
49
.layer(Extension(schema))
50
- .route("/hub", routing::get(ws_handler).with_state(ctx.clone()));
+ .route("/hub", routing::get(ws_handler).with_state(ctx));
51
52
let ui = ui
53
.route("/graphql", routing::get(playground("/graphql", None)))
0 commit comments