We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 09d1760 + 7fb7951 commit 0b386b2Copy full SHA for 0b386b2
app/electron/main.ts
@@ -1579,7 +1579,8 @@ function startElecron() {
1579
if a library is trying to open a url other than app url in electron take it
1580
to the default browser
1581
*/
1582
- mainWindow.webContents.on('will-navigate', (event, url) => {
+ mainWindow.webContents.on('will-navigate', (event, encodedUrl) => {
1583
+ const url = decodeURI(encodedUrl);
1584
if (url.startsWith(startUrl)) {
1585
return;
1586
}
0 commit comments