From a67c2120e005996c03e2074ac4de3e29c8a8a6e0 Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Thu, 1 Feb 2024 00:48:48 -0500 Subject: [PATCH] mv dep --- server/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main.rs b/server/src/main.rs index 8e17c87..a745d97 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -1,5 +1,6 @@ use app::*; use axum::Router; +use db::*; use fileserv::file_and_error_handler; use leptos::*; use leptos_axum::{generate_route_list, LeptosRoutes}; @@ -14,7 +15,6 @@ async fn main() { let addr = leptos_options.site_addr; let routes = generate_route_list(App); - use db::*; let pool = start_pool().await.expect("pool error"); let _ = db_build(pool.clone()).await.unwrap();