🔥 Remove unwrap usage to improve new apps setup

This commit is contained in:
Manuel Cillero 2024-02-26 07:39:08 +01:00
parent b7cb4363bd
commit d66063a1f7
6 changed files with 79 additions and 60 deletions

View file

@ -16,5 +16,5 @@ async fn hello_world(request: service::HttpRequest) -> ResultPage<Markup, ErrorP
#[pagetop::main]
async fn main() -> std::io::Result<()> {
Application::prepare(&HelloWorld).unwrap().run()?.await
Application::prepare(&HelloWorld).run()?.await
}