Skip to main content

cors_strict

Function cors_strict 

Source
pub fn cors_strict() -> CorsLayer
Expand description

创建严格模式的 CORS 配置

仅允许常见的方法和请求头,不包含凭证支持。