Skip to main content

cors_origin_layer

Function cors_origin_layer 

Source
pub fn cors_origin_layer(origin: HeaderValue) -> CorsLayer
Expand description

Creates a CORS layer for a single explicit API origin.