diff --git a/server/src/handlers/livetail.rs b/server/src/handlers/livetail.rs index a196fef6c..716a7ed7f 100644 --- a/server/src/handlers/livetail.rs +++ b/server/src/handlers/livetail.rs @@ -237,9 +237,5 @@ fn extract_cookie(header: &MetadataMap) -> Option { } fn cross_origin_config() -> CorsLayer { - if cfg!(feature = "debug") { - CorsLayer::very_permissive().allow_credentials(true) - } else { - CorsLayer::new() - } + CorsLayer::very_permissive().allow_credentials(true) }