From d58d2deb8d855c364dd27ba0ebf820af8413b90f Mon Sep 17 00:00:00 2001 From: Abdullah Islam <31964511+abdullah248@users.noreply.github.com> Date: Mon, 9 Dec 2024 13:53:56 -0600 Subject: [PATCH] Suppress validation warning --- tools/dicom-web-electron/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/dicom-web-electron/main.js b/tools/dicom-web-electron/main.js index 69464cecef..14e41df86a 100644 --- a/tools/dicom-web-electron/main.js +++ b/tools/dicom-web-electron/main.js @@ -38,6 +38,7 @@ async function createWindow() { win.loadFile(path.join(__dirname, "index.html")); // Used to allow self signed certificates + // CodeQL [SM03616]: Suppress warning for disabling certificate validation const httpsAgent = new https.Agent({ rejectUnauthorized: false }); // Set the maximum content length size in bytes and megabytes @@ -148,4 +149,4 @@ async function createWindow() { }) } -app.on("ready", createWindow); \ No newline at end of file +app.on("ready", createWindow);