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 | |
| parent | chore(release): prepare for release v17.2.1 (#1495) (diff) | |
| download | atuin-37c4b7adff76f71cc8eec5667d1ed64b32284090.zip | |
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 :)
| -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 581886de..42cfaa86 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 { |
