refactor the main structure
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
mod deploy;
|
||||
mod server;
|
||||
mod conf;
|
||||
mod api;
|
||||
mod database;
|
||||
mod controller;
|
||||
|
||||
#[actix_web::main]
|
||||
async fn main() {
|
||||
server::start().await;
|
||||
api::routes::start().await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user