From 37c4b7adff76f71cc8eec5667d1ed64b32284090 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Wed, 3 Jan 2024 16:37:27 +0000 Subject: chore: remove the teapot response (#1496) It was fun, but it wasn't as informative as it needs to be I'm leaving the function name though :) --- atuin-server/src/router.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'atuin-server') diff --git a/atuin-server/src/router.rs b/atuin-server/src/router.rs index 581886de9..42cfaa865 100644 --- a/atuin-server/src/router.rs +++ b/atuin-server/src/router.rs @@ -76,7 +76,9 @@ where } async fn teapot() -> impl IntoResponse { - (http::StatusCode::IM_A_TEAPOT, "🫖") + // This used to return 418: 🫖 + // Much as it was fun, it wasn't as useful or informative as it should be + (http::StatusCode::NOT_FOUND, "404 not found") } async fn clacks_overhead(request: Request, next: Next) -> Response { -- cgit v1.2.3