Merge pull request #298 from BeaudanBrown/tls-fix

Have to put the tls setting here for some reason
pull/300/head
Beaudan Campbell-Brown 6 years ago committed by GitHub
commit 5c5155899e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,9 +26,6 @@ if (environment === 'production') {
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '';
}
// temporary clearnet fix
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
// We load config after we've made our modifications to NODE_ENV
const config = require('config');

@ -48,6 +48,9 @@ window.isBeforeVersion = (toCheck, baseVersion) => {
}
};
// temporary clearnet fix
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
window.wrapDeferred = deferredToPromise;
const ipc = electron.ipcRenderer;

Loading…
Cancel
Save