aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-server/src/router.rs
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@elliehuxtable.com>2024-01-03 16:37:27 +0000
committerGitHub <noreply@github.com>2024-01-03 16:37:27 +0000
commit37c4b7adff76f71cc8eec5667d1ed64b32284090 (patch)
treeb16aed8c42b84d895661fb94eb4cb3949ccee5b4 /atuin-server/src/router.rs
parentchore(release): prepare for release v17.2.1 (#1495) (diff)
downloadatuin-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 :)
Diffstat (limited to 'atuin-server/src/router.rs')
-rw-r--r--atuin-server/src/router.rs4
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 {