mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-21 21:25:36 +02:00
Merge branch 'master' into trait-middleware-mut-self
This commit is contained in:
@@ -207,6 +207,7 @@ impl Default for Cors {
|
||||
}
|
||||
|
||||
impl Cors {
|
||||
/// Build a new CORS middleware instance
|
||||
pub fn build() -> CorsBuilder<()> {
|
||||
CorsBuilder {
|
||||
cors: Some(Inner {
|
||||
|
Reference in New Issue
Block a user