mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-25 22:49:21 +02:00
add Item and Error to FromRequest trait
This commit is contained in:
@ -89,7 +89,7 @@ fn main() {
|
||||
}
|
||||
})
|
||||
// static files
|
||||
.route("/static", StaticFiles::new("examples/static/", true)))
|
||||
.route("/static", fs::StaticFiles::new("examples/static/", true)))
|
||||
.serve::<_, ()>("127.0.0.1:8080").unwrap();
|
||||
|
||||
println!("Started http server: 127.0.0.1:8080");
|
||||
|
Reference in New Issue
Block a user