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,