refactor: streamline resolve_scheme function calls and visibility in utils

This commit is contained in:
Tunglies
2025-08-30 17:22:52 +08:00
parent 09f14c23e4
commit 3a7be3dfb7
4 changed files with 19 additions and 13 deletions

View File

@@ -84,11 +84,7 @@ pub fn embed_server() {
// Spawn async work in a fire-and-forget manner
let param = query.param.clone();
tokio::task::spawn_local(async move {
logging_error!(
Type::Setup,
true,
resolve::scheme::resolve_scheme(param).await
);
logging_error!(Type::Setup, true, resolve::resolve_scheme(param).await);
});
warp::reply::with_status("ok".to_string(), warp::http::StatusCode::OK)
});