mv dep
This commit is contained in:
parent
bfff54c2b2
commit
a67c2120e0
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
use app::*;
|
use app::*;
|
||||||
use axum::Router;
|
use axum::Router;
|
||||||
|
use db::*;
|
||||||
use fileserv::file_and_error_handler;
|
use fileserv::file_and_error_handler;
|
||||||
use leptos::*;
|
use leptos::*;
|
||||||
use leptos_axum::{generate_route_list, LeptosRoutes};
|
use leptos_axum::{generate_route_list, LeptosRoutes};
|
||||||
|
@ -14,7 +15,6 @@ async fn main() {
|
||||||
let addr = leptos_options.site_addr;
|
let addr = leptos_options.site_addr;
|
||||||
let routes = generate_route_list(App);
|
let routes = generate_route_list(App);
|
||||||
|
|
||||||
use db::*;
|
|
||||||
let pool = start_pool().await.expect("pool error");
|
let pool = start_pool().await.expect("pool error");
|
||||||
let _ = db_build(pool.clone()).await.unwrap();
|
let _ = db_build(pool.clone()).await.unwrap();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue