mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-25 01:51:23 +02:00
simplify server start method
This commit is contained in:
@ -214,7 +214,7 @@ fn main() {
|
||||
|r| r.h(fs::StaticFiles::new("tail", "static/", true)))
|
||||
})
|
||||
.bind("127.0.0.1:8080").unwrap()
|
||||
.start().unwrap();
|
||||
.start();
|
||||
|
||||
let _ = sys.run();
|
||||
}
|
||||
|
Reference in New Issue
Block a user