Have to put the tls setting here for some reason

pull/298/head
Beaudan 6 years ago
parent be32d364b5
commit 8d4bfc27c9

@ -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');

@ -47,6 +47,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