mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-08-20 09:34:35 -05:00
Fix Nintendo Account authorisation callback handling on Windows
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user