app loading: load external URLs from not found page using default browser
update CHANGES.md
This commit is contained in:
@@ -168,6 +168,12 @@ class ElectronReplayApp
|
||||
return { action: "deny"};
|
||||
}
|
||||
|
||||
// load external URLs in native browser
|
||||
if (!url.startsWith(STATIC_PREFIX)) {
|
||||
shell.openExternal(url);
|
||||
return { action: "deny"};
|
||||
}
|
||||
|
||||
return { action: "allow"};
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user