Bladeren bron

include cloud mongo connection

Enzo 1 jaar geleden
bovenliggende
commit
df0ede88e4
1 gewijzigde bestanden met toevoegingen van 5 en 2 verwijderingen
  1. 5 2
      test/test2.ts

+ 5 - 2
test/test2.ts

@@ -35,8 +35,11 @@ let storage: LogSetting = {
         logLocName: 'To be generated in client',
     },
     customSetting: {
-        server: "localhost:27017",
-        collection: "logs"
+        srv: true,
+        user: "testDB",
+        password: "h1nt1OyXw6QeUnzS",
+        server: "cluster0.29sklte.mongodb.net",
+        collection: "log",
       }
 }
 let dataSet: LogSetting & { incomingObservable: Observable<BaseMessage> } = {