use std::sync::Arc; use axum::{Json, extract::State}; use crate::config::Config; pub async fn main(State(conf): State>) -> Json { Json((*conf).clone()) }