1 2 3 4 5
use tower_http::cors::CorsLayer; pub fn cors_any() -> CorsLayer { CorsLayer::permissive() }