mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-05 13:57:39 +03:00
add Item and Error to FromRequest trait
This commit is contained in:
parent
6bc7d60f52
commit
7c6faaa8e0
14 changed files with 178 additions and 108 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue