mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-05 13:57:39 +03:00
add optional skeptic
This commit is contained in:
parent
86583049fa
commit
488fb256b4
6 changed files with 31 additions and 20 deletions
|
@ -44,7 +44,7 @@ fn main() {
|
|||
.body(Body::Empty)
|
||||
}))
|
||||
// static files
|
||||
.route_handler("/static", StaticFiles::new("static/", true)))
|
||||
.route_handler("/static", 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