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
+2 -1
View File
@@ -12,7 +12,8 @@ v1.7.0
- Embeds: Add 'requireSubdomainIframe' embed attribute to only allow embed if loaded from a cross-origin / subdomain iframe.
- UI: improved formatting on 404 not found page.
- Loading: Fix IPFS loading, use auto-js-ipfs to load from an IPFS gateway or existing local instance (don't run local node for now)
- Dependencies: update to wabac.js 2.13.0 to support verification, latest wombat (3.3.9)
- Loading: App: Load 'not found' URLs from error page using default browser
- Dependencies: update to wabac.js 2.13.2 to support verification, latest wombat (3.3.9)
v1.6.5
- Loading: Don't ignore hashtag, eg. #.wacz to specify file type when loading (via wabac.js)
+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"};
});
});