Skip to main content

create_cors_layer

Function create_cors_layer 

Source
pub fn create_cors_layer() -> CorsLayer
Expand description

Create CORS layer with permissive settings

This allows requests from any origin, which is appropriate for development and internal FEAGI deployments. For production, this should be configured via TOML config to restrict allowed origins.