diff --git a/src/app/main/index.ts b/src/app/main/index.ts index d6127cf..cc062c0 100644 --- a/src/app/main/index.ts +++ b/src/app/main/index.ts @@ -181,7 +181,7 @@ export async function init() { function tryHandleUrl(app: App, url: string) { debug('Attempting to handle URL', url); - if (url.match(/^npf[0-9a-f]{16}:\/\/auth($|\?|\#)/i)) { + if (url.match(/^npf[0-9a-f]{16}:\/\/auth\/?($|\?|\#)/i)) { handleAuthUri(url); return true; }