Change text
All checks were successful
build-and-pudh / docker (push) Successful in 3m33s

This commit is contained in:
dobiadi
2024-10-24 01:51:22 +02:00
parent c76bf79b9d
commit 7721000281

View File

@@ -11,7 +11,7 @@ pub struct Config {
pub async fn run(config: Config, token: CancellationToken) -> Result<(), io::Error> { pub async fn run(config: Config, token: CancellationToken) -> Result<(), io::Error> {
let app = Router::new() let app = Router::new()
.route("/", routing::get(|| async { "Hello world!" })) .route("/", routing::get(|| async { "Hello kube world!" }))
.layer(( .layer((
TraceLayer::new_for_http(), TraceLayer::new_for_http(),
TimeoutLayer::new(Duration::from_secs(10)), TimeoutLayer::new(Duration::from_secs(10)),