1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-25 18:09:22 +02:00

update h2 lib

This commit is contained in:
Nikolay Kim
2018-01-02 19:37:33 -08:00
parent 3768a2885d
commit 3a59344ffb
4 changed files with 11 additions and 8 deletions

View File

@ -84,7 +84,7 @@ fn main() {
}
}))
// static files
.handler("/static/", fs::StaticFiles::new("tail", "../static/", true))
.handler("/static/", fs::StaticFiles::new("../static/", true))
// redirect
.resource("/", |r| r.method(Method::GET).f(|req| {
println!("{:?}", req);