Skip to content

Commit

Permalink
fix(ssl): ignore cert to fix blob loads
Browse files Browse the repository at this point in the history
  • Loading branch information
DEgITx committed Aug 10, 2022
1 parent c05a04e commit a502a7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/background/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ logT('system', 'Total memory:', (os.totalmem() / (1024 * 1024)).toFixed(2), 'MB'
logT('system', 'Free memory:', (os.freemem() / (1024 * 1024)).toFixed(2), 'MB')
logT('system', 'NodeJS:', process.version)
logT('system', 'Desktop server')
process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = 0

if(portative)
logT('system', 'portative compability')
Expand Down
1 change: 1 addition & 0 deletions src/background/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ logT('system', 'Total memory:', (os.totalmem() / (1024 * 1024)).toFixed(2), 'MB'
logT('system', 'Free memory:', (os.freemem() / (1024 * 1024)).toFixed(2), 'MB')
logT('system', 'NodeJS:', process.version)
logT('system', 'Web server')
process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = 0

// handle promise rejections
process.on('unhandledRejection', r => logTE('system', 'Rejection:', r));
Expand Down

0 comments on commit a502a7a

Please sign in to comment.