Merge remote-tracking branch 'origin/master'
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-1
@@ -40,7 +40,7 @@ async fn main() {
|
|||||||
.await
|
.await
|
||||||
.expect(&format!("Can't connect to database: {}", &database));
|
.expect(&format!("Can't connect to database: {}", &database));
|
||||||
|
|
||||||
sqlx::migrate!().run(&pool).await.expect("Migrations failed");
|
//sqlx::migrate!().run(&pool).await.expect("Migrations failed");
|
||||||
|
|
||||||
let cors = CorsLayer::new()
|
let cors = CorsLayer::new()
|
||||||
.allow_methods([Method::GET, Method::POST, Method::DELETE])
|
.allow_methods([Method::GET, Method::POST, Method::DELETE])
|
||||||
|
|||||||
Reference in New Issue
Block a user