summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bahnhofname.gleam2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bahnhofname.gleam b/src/bahnhofname.gleam
index 8ddb090..708aca6 100644
--- a/src/bahnhofname.gleam
+++ b/src/bahnhofname.gleam
@@ -128,6 +128,8 @@ fn lookup_station(
fuzzy: fn (String) -> List(String)
) -> Response(BitBuilder) {
let #(code, text) = case request {
+ // blackhole favicon.ico requests instead of using the index
+ Request(method: Get, path: "/favicon.ico", ..) -> #(404, "")
Request(method: Get, path: "/help", ..)
| Request(method: Get, path: "/", ..) -> #(
200,