diff --git a/ee/tabby-webserver/src/lib.rs b/ee/tabby-webserver/src/lib.rs index a9acd214dc4c..e7699ae7bdc6 100644 --- a/ee/tabby-webserver/src/lib.rs +++ b/ee/tabby-webserver/src/lib.rs @@ -46,11 +46,11 @@ pub async fn attach_webserver( "/graphql", routing::post(graphql::>).with_state(ctx.clone()), ) + .route("/graphql", routing::get(playground("/graphql", None))) .layer(Extension(schema)) .route("/hub", routing::get(ws_handler).with_state(ctx.clone())); let ui = ui - .route("/graphql", routing::get(playground("/graphql", None))) .route("/graphiql", routing::get(graphiql("/graphql", None))) .fallback(ui::handler);