diff --git a/app/index.js b/app/index.js index 2e53f3d1..c5122b32 100644 --- a/app/index.js +++ b/app/index.js @@ -313,6 +313,9 @@ app.on('ready', () => installDevExtensions(isDev).then(() => { event.preventDefault(); const path = fileUriToPath(url).replace(/ /g, '\\ '); rpc.emit('session data send', {data: path}); + } else if (protocol === 'http:' || protocol === 'https:') { + event.preventDefault(); + rpc.emit('session data send', {data: url}); } });