mirror of
https://github.com/agam778/MS-365-Electron.git
synced 2026-02-17 09:02:10 +00:00
Fix external URL opening even if the protocol is not http or https
This commit is contained in:
@@ -176,7 +176,6 @@ app.on("web-contents-created", (event, contents) => {
|
||||
return { action: "deny" };
|
||||
}
|
||||
} else {
|
||||
shell.openExternal(url);
|
||||
return { action: "deny" };
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user