We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9710ca commit 7fb7951Copy full SHA for 7fb7951
app/electron/main.ts
@@ -1500,7 +1500,8 @@ function startElecron() {
1500
if a library is trying to open a url other than app url in electron take it
1501
to the default browser
1502
*/
1503
- mainWindow.webContents.on('will-navigate', (event, url) => {
+ mainWindow.webContents.on('will-navigate', (event, encodedUrl) => {
1504
+ const url = decodeURI(encodedUrl);
1505
if (url.startsWith(startUrl)) {
1506
return;
1507
}
0 commit comments