updating helm/docker files and database config files
[it/otf.git] / otf-frontend / server / src / lib / mongoose.js
index a8d5b9d..4bba26d 100644 (file)
@@ -18,7 +18,7 @@ const mongoose = require('mongoose');
 \r
 module.exports = function (app) {\r
        const mongoData = app.get('mongo');\r
-       const connectionString = 'mongodb://' + mongoData.username + ':' + mongoData.password + '@' + mongoData.baseUrl + mongoData.dbOtf + '?replicaSet=' + mongoData.replicaSet;\r
+       const connectionString = 'mongodb://' + mongoData.username + ':' + mongoData.password + '@' + mongoData.baseUrl + '/' + mongoData.dbOtf + '?replicaSet=' + mongoData.replicaSet;\r
 \r
        mongoose.connect(connectionString, { useNewUrlParser: true }).then(null, error => {\r
                console.log('caught', error.message);\r