Skip to content

Commit

Permalink
refactor: comment out cert disabling code for PCA
Browse files Browse the repository at this point in the history
  • Loading branch information
toxophilist committed Dec 2, 2024
1 parent 872ad17 commit 327df4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ocd/packages/desktop/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import { OcdDesign } from '@ocd/model'
import { OcdCache, OcdConsoleConfiguration } from '@ocd/react'
// import { unescape } from 'querystring'

app.commandLine.appendSwitch('ignore-certificate-errors') // Temporary work around for not being able to add additional certificates
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0' // Temporary work around for not being able to add additional certificates
// app.commandLine.appendSwitch('ignore-certificate-errors') // Temporary work around for not being able to add additional certificates
// process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0' // Temporary work around for not being able to add additional certificates

// Get Environment information
const isDev = process.env.OCD_DEV === 'true';
Expand Down
4 changes: 2 additions & 2 deletions ocd/packages/electron-desktop/electron/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import { OcdDesign } from '@ocd/model'
import { OcdCache, OcdConsoleConfiguration, OcdLibrary } from '@ocd/react'
// import { unescape } from 'querystring'

app.commandLine.appendSwitch('ignore-certificate-errors') // Temporary work around for not being able to add additional certificates
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0' // Temporary work around for not being able to add additional certificates
// app.commandLine.appendSwitch('ignore-certificate-errors') // Temporary work around for not being able to add additional certificates
// process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0' // Temporary work around for not being able to add additional certificates

// Get Environment information
const isDev = process.env.OCD_DEV === 'true';
Expand Down

0 comments on commit 327df4c

Please sign in to comment.