Fix Nintendo Account authorisation callback handling on Windows

This commit is contained in:
Samuel Elliott
2022-09-15 22:14:26 +01:00
parent 6310485db7
commit c60442fa5e

View File

@@ -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;
}