Skip to content

Commit

Permalink
Support SSL when making DB connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctigeek committed Feb 2, 2016
1 parent 983d73b commit 7fc20f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ let connect = function(config) {
let dbOptions = {
auto_reconnect: config.mongodb.autoReconnect,
poolSize: config.mongodb.poolSize,
ssl: config.mongodb.useSSL
};

let db;
Expand Down

0 comments on commit 7fc20f7

Please sign in to comment.