mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-05 05:47:40 +03:00
simplify drain feature
This commit is contained in:
parent
eaab28cd3b
commit
9f9c75d832
4 changed files with 18 additions and 95 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue