From 6766bf064d1332e19ea902ef891fc859396fd93e Mon Sep 17 00:00:00 2001 From: mehbark Date: Thu, 11 Jul 2024 03:03:46 -0400 Subject: [PATCH] even more case-insensitivity what is this? common lisp? laugh track --- serverside/name-color.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serverside/name-color.ts b/serverside/name-color.ts index a94fe1a..f806fee 100644 --- a/serverside/name-color.ts +++ b/serverside/name-color.ts @@ -96,7 +96,7 @@ Deno.serve({ port: 61266 }, async (req) => { const url = new URL(req.url); const names = url.searchParams.getAll("name").filter((name) => !name.match(/\/\?/) - ); + ).map(name => name.toLowerCase()); await Promise.all(names.map(update_name_color)); const css = cssify({ requester: url.searchParams.get("requester") ?? undefined,