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:
@ -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);
|
||||
|
Reference in New Issue
Block a user