app loading: load external URLs from not found page using default browser

update CHANGES.md
This commit is contained in:
Ilya Kreymer
2022-10-04 17:12:10 -07:00
parent 415d344027
commit feb1828141
2 changed files with 8 additions and 1 deletions
+6
View File
@@ -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"};
});
});