diff options
author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-01-03 16:37:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-03 16:37:27 +0000 |
commit | 37c4b7adff76f71cc8eec5667d1ed64b32284090 (patch) | |
tree | b16aed8c42b84d895661fb94eb4cb3949ccee5b4 /atuin-server | |
parent | 9f79a34a9dea207df7184972fa29f4fe5ec41b27 (diff) |
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 :)
Diffstat (limited to 'atuin-server')
-rw-r--r-- | atuin-server/src/router.rs | 4 |
1 files changed, 3 insertions, 1 deletions
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<B>(request: Request<B>, next: Next<B>) -> Response { |