1
0
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:
Nikolay Kim
2018-06-02 08:54:00 -07:00
committed by GitHub
24 changed files with 83 additions and 2 deletions

View File

@@ -207,6 +207,7 @@ impl Default for Cors {
}
impl Cors {
/// Build a new CORS middleware instance
pub fn build() -> CorsBuilder<()> {
CorsBuilder {
cors: Some(Inner {