1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-25 01:51:23 +02:00

add optional skeptic

This commit is contained in:
Nikolay Kim
2017-10-26 06:12:23 -07:00
parent 86583049fa
commit 488fb256b4
6 changed files with 31 additions and 20 deletions

View File

@ -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");