mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-05 13:57:39 +03:00
cleanup examples
This commit is contained in:
parent
4dd3382ac7
commit
3c5fd18e02
5 changed files with 18 additions and 17 deletions
|
@ -90,7 +90,7 @@ fn main() {
|
|||
httpcodes::HTTPFound
|
||||
.build()
|
||||
.header("LOCATION", "/index.html")
|
||||
.body(Body::Empty)
|
||||
.finish()
|
||||
})))
|
||||
.bind("127.0.0.1:8080").unwrap()
|
||||
.start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue