From 74e40759362d329683f1da9312dfc1e1dea0b22c Mon Sep 17 00:00:00 2001
From: Michelle <mi00354@surrey.ac.uk>
Date: Sat, 22 May 2021 11:03:51 +0100
Subject: [PATCH] Chnaged url to use MongoDB Atlas

---
 NodeAPI/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/NodeAPI/index.js b/NodeAPI/index.js
index 60a7ba0..d4433ed 100644
--- a/NodeAPI/index.js
+++ b/NodeAPI/index.js
@@ -7,7 +7,7 @@ const port = 3000;
 
 // Get the mongodb url
 var MongoClient = require('mongodb').MongoClient;
-var url = "mongodb://localhost:27017/pred_records";
+var url = "mongodb+srv://dbuser:nlp2021@clusternlp.5iof9.mongodb.net/myFirstDatabase?retryWrites=true&w=majority";
 
 app.set('view engine', 'ejs')
 
-- 
GitLab