Skip to content

Commit

Permalink
Suppress validation warning (#3505)
Browse files Browse the repository at this point in the history
* Suppress validation warning

* add back empty line

* fix formatting
  • Loading branch information
abdullah248 authored Dec 10, 2024
1 parent 4464f24 commit eeefbe4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/dicom-web-electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -148,4 +149,4 @@ async function createWindow() {
})
}

app.on("ready", createWindow);
app.on("ready", createWindow);

0 comments on commit eeefbe4

Please sign in to comment.