add RunningHttpServer

This commit is contained in:
MeexReay 2024-06-22 16:08:13 +03:00
parent 0ef43dcb47
commit 7c5e6dc9c7
3 changed files with 86 additions and 8 deletions

View file

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