Skip to content

Commit

Permalink
set strictSSL false default to use couchdb self-signed cert, ref requ…
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemorris committed Jan 29, 2014
1 parent f766a27 commit 145bbbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions couch.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ var _ = require('underscore'),
fs = require('fs'),
request = require('request');

request.defaults({
strictSSL: false
});

var Couch = module.exports = function(config) {
var host = config.host || '127.0.0.1';
var port = config.port || (config.secure ? '6984' : '5984');
Expand Down

0 comments on commit 145bbbb

Please sign in to comment.