From 7684c24db03dbabff9bbbcf6fae37cc095681c5c Mon Sep 17 00:00:00 2001 From: ajuvercr Date: Sat, 20 Jun 2020 10:21:40 +0200 Subject: [PATCH] rocket is a future now :o --- backend/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/src/main.rs b/backend/src/main.rs index 46d9999..27e540e 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -113,8 +113,7 @@ async fn main() { .manage(Games::new()) .attach(tera) .mount("/", routes) - .launch() - .unwrap(); + .launch().await.unwrap(); } /// Creates the actual game_manager