From a115bdd072cd4368a387a67fe72e70cdeb4df6f8 Mon Sep 17 00:00:00 2001 From: Nick Wittwer Date: Sun, 3 Feb 2019 22:31:28 +0100 Subject: [PATCH] Added todo --- src/main/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/index.js b/src/main/index.js index 7797b1b6..8b0bde45 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -58,7 +58,7 @@ app.on('activate', () => { }) // Workarounds to allow accessing self-signed HTTPS sites -// @TODO: Add this as an opt-in from the UI somehow? +// @TODO: Add this as an opt-in from the UI somehow? It's useful in some cases, but poses security risks for most app.on('certificate-error', (event, webContents, url, error, certificate, callback) => { // On certificate error we disable default behaviour (stop loading the page) // and we then say "it is all fine - true" to the callback