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,