요청을 받으면 콘솔에 출력하도록 수정
All checks were successful
Build and Push / Build Docker image (push) Successful in 43s

This commit is contained in:
2025-03-22 02:33:31 +09:00
parent 73dcb6b5e3
commit 581e40cb7d

View File

@@ -47,8 +47,8 @@ pub fn router() -> Router {
}
async fn root() -> axum::response::Html<String> {
let current_time = Local::now().format("%Y-%m-%d %H:%M:%S").to_string();
println!("Current Time: {}", current_time);
axum::response::Html(format!("<h1>Current Time: {}</h1>", current_time))
}