Skip to content

Commit

Permalink
updating escape character
Browse files Browse the repository at this point in the history
  • Loading branch information
SnehaGunda committed Apr 10, 2018
1 parent 23d2973 commit 7604ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/mongo.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const env = require('./env/environment');

mongoose.Promise = global.Promise;

const mongoUri = `mongodb://${env.dbName}.documents.azure.com:${env.cosmosPort}/?ssl=true`;
const mongoUri = `mongodb://${env.dbName}.documents.azure.com:${env.cosmosPort}/?ssl/=true`;

function connect() {
return mongoose.connect(mongoUri, { auth: { user: env.dbName, password: env.key }});
Expand Down

0 comments on commit 7604ba1

Please sign in to comment.