diff --git a/server/src/handlers/livetail.rs b/server/src/handlers/livetail.rs index 1100f21fc..e09899fbf 100644 --- a/server/src/handlers/livetail.rs +++ b/server/src/handlers/livetail.rs @@ -35,7 +35,7 @@ use arrow_flight::{ HandshakeResponse, PutResult, SchemaResult, Ticket, }; use tonic_web::GrpcWebLayer; -use tower_http::cors::{Any, CorsLayer}; +use tower_http::cors::{AllowHeaders, AllowMethods, AllowOrigin, CorsLayer}; use crate::livetail::{Message, LIVETAIL}; use crate::metadata::STREAM_INFO; @@ -175,11 +175,10 @@ pub fn server() -> impl Future