This commit is contained in:
Theo Browne
2025-02-14 22:33:22 -08:00
parent cc89f1bbd1
commit 0f2e10b168

View File

@ -50,7 +50,7 @@ function getBangredirectUrl() {
return null;
}
const match = query.match(/!([a-z]+)/i);
const match = query.match(/!([a-z0-9]+)/i);
const bangCandidate = match?.[1]?.toLowerCase();
const selectedBang = bangs.find((b) => b.t === bangCandidate) ?? defaultBang;