NoAppsAllowed Fix

This commit is contained in:
thororen1234 2024-11-06 21:53:46 -05:00
parent f9d908a4f0
commit 225c99ad4c
3 changed files with 6 additions and 6 deletions

View file

@ -27,6 +27,8 @@ export function canonicalizeMatch<T extends RegExp | string>(match: T): T {
const isString = typeof match === "string";
const hasSpecialChars = !Number.isNaN(Number(hashed[0])) || hashed.includes("+") || hashed.includes("/");
if (modifier === "hash") return hashed;
if (hasSpecialChars) {
return isString
? `["${hashed}"]`