add RunningHttpServer
This commit is contained in:
parent
0ef43dcb47
commit
7c5e6dc9c7
3 changed files with 86 additions and 8 deletions
|
@ -70,6 +70,6 @@ fn main() {
|
|||
HttpServerStarter::new(site, host)
|
||||
.timeout(Some(Duration::from_secs(5)))
|
||||
.threads(5)
|
||||
.start()
|
||||
.start_forever()
|
||||
.expect("http server error");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue