mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-06 06:17:40 +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
|
@ -67,7 +67,7 @@ fn main() {
|
|||
// websocket route
|
||||
.resource("/ws/", |r| r.get(ws_index))
|
||||
// static files
|
||||
.route("/", StaticFiles::new("examples/static/", true)))
|
||||
.route("/", fs::StaticFiles::new("examples/static/", true)))
|
||||
// start http server on 127.0.0.1:8080
|
||||
.serve::<_, ()>("127.0.0.1:8080").unwrap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue