style: align admin-api formatting with CI
This commit is contained in:
@@ -16,10 +16,7 @@ use crate::{app::build_app, service::AdminService, state::AppState};
|
|||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
tracing_subscriber::fmt()
|
tracing_subscriber::fmt()
|
||||||
.with_env_filter(
|
.with_env_filter(env::var("CRANK_LOG_LEVEL").unwrap_or_else(|_| "admin_api=info,tower_http=info".into()))
|
||||||
env::var("CRANK_LOG_LEVEL")
|
|
||||||
.unwrap_or_else(|_| "admin_api=info,tower_http=info".into()),
|
|
||||||
)
|
|
||||||
.init();
|
.init();
|
||||||
|
|
||||||
let database_url = env::var("CRANK_DATABASE_URL")?;
|
let database_url = env::var("CRANK_DATABASE_URL")?;
|
||||||
|
|||||||
Reference in New Issue
Block a user