Formatted files
This commit is contained in:
@@ -10,7 +10,7 @@ use users::*;
|
||||
use utils::*;
|
||||
|
||||
use actix_web::web::Data;
|
||||
use actix_web::{App, HttpServer, middleware::DefaultHeaders};
|
||||
use actix_web::{middleware::DefaultHeaders, App, HttpServer};
|
||||
use sqlx::sqlite::SqlitePool;
|
||||
|
||||
#[derive(Clone)]
|
||||
@@ -48,7 +48,7 @@ async fn main() -> std::io::Result<()> {
|
||||
.service(options)
|
||||
.app_data(app_state.clone())
|
||||
})
|
||||
.bind(("127.0.0.1", 8000))?
|
||||
.run()
|
||||
.await
|
||||
.bind(("127.0.0.1", 8000))?
|
||||
.run()
|
||||
.await
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user