summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoru <@>2026-03-10 13:16:28 +0200
committeru <@>2026-03-10 13:16:28 +0200
commit7210aab8bd2263bb33571af35d9b50eb76743c35 (patch)
tree6b204c0b3d5fae85eb5eb86b749d216e8bb3d9ce
parent45ba27f167f34282ada9034728c3318fa11b82d8 (diff)
a
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index bc1754e..55d542b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -104,7 +104,7 @@ async fn fetch(req: Request, env: Env, _ctx: Context) -> Result<Response> {
}
})
})
- .or_else_any_method("/*catchall", |_, _| {
+ .or_else_any_method("/*catchall" /* wtf is this syntax? */ , |_, _| {
Ok(bone("", "404 Not Found", html! {
p style="padding: 1vw" { "what?" }
})?.with_status(404))