Expand description
CORS layer builder.
Constructs a [tower_http::cors::CorsLayer] from the allowed origins
listed in atrg.toml under [app].cors_origins.
Functionsยง
- build_
cors_ layer - Build a CORS layer from the configured allowed origins.
CORS layer builder.
Constructs a [tower_http::cors::CorsLayer] from the allowed origins
listed in atrg.toml under [app].cors_origins.