implemented serve command and added async runtime
This commit is contained in:
@@ -5,7 +5,8 @@ mod test;
|
||||
|
||||
use app::App;
|
||||
|
||||
fn main() {
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
let app = App::new();
|
||||
app.start();
|
||||
app.start().await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user