Merge pull request #261 from BeaudanBrown/disable-encryption

Disable encryption
pull/263/head
Beaudan Campbell-Brown 6 years ago committed by GitHub
commit eff8da3677
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,7 +12,8 @@ const fetch = async (url, options = {}) => {
const method = options.method || 'GET';
const address = parse(url).hostname;
const doEncryptChannel = address.endsWith('.snode');
// const doEncryptChannel = address.endsWith('.snode');
const doEncryptChannel = false; // ENCRYPTION DISABLED
if (doEncryptChannel) {
try {
// eslint-disable-next-line no-param-reassign

Loading…
Cancel
Save