diff --git a/src/renderer/util.ts b/src/renderer/util.ts index 34f9a8312..1cb418c82 100644 --- a/src/renderer/util.ts +++ b/src/renderer/util.ts @@ -172,7 +172,7 @@ export async function goToOrJoinServer(invite: string): Promise { } export async function openExternal(url: string): Promise { - const mod = getBySource<(url: string) => Promise>(/href=\w;\w\.target="_blank"/); + const mod = getBySource<(url: string) => Promise>(/href=\w,\w\.target="_blank"/); if (!mod) { throw new Error("Could not find openExternal"); }