simplify drain feature

This commit is contained in:
Nikolay Kim 2017-12-24 11:58:09 -08:00
parent eaab28cd3b
commit 9f9c75d832
4 changed files with 18 additions and 95 deletions

View file

@ -92,7 +92,7 @@ fn main() {
.header("LOCATION", "/index.html")
.finish()
})))
.bind("127.0.0.1:8080").unwrap()
.bind("0.0.0.0:8080").unwrap()
.start();
println!("Starting http server: 127.0.0.1:8080");