mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
fix
This commit is contained in:
parent
39de683b6e
commit
b2dc81d144
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ export function canonicalizeMatch<T extends RegExp | string>(match: T): T {
|
|||
const hashed = runtimeHashMessageKey(key);
|
||||
|
||||
const isString = typeof match === "string";
|
||||
const hasSpecialChars = !Number.isNaN(Number(hashed[0])) || hashed.includes("+");
|
||||
const hasSpecialChars = !Number.isNaN(Number(hashed[0])) || hashed.includes("+") || hashed.includes("/");
|
||||
|
||||
if (hasSpecialChars) {
|
||||
return isString
|
||||
|
|
Loading…
Reference in a new issue