소스 검색

Replace fromEnzo to default.

FAMBL 1 년 전
부모
커밋
5415638fb0
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      index.ts
  2. 1 1
      test/test2.ts
  3. 1 1
      test/test3.ts

+ 1 - 1
index.ts

@@ -9,7 +9,7 @@ const mongoose = require('mongoose');
 app.use(bodyParser.urlencoded({ extended: false }))
 app.use(bodyParser.json());
 
-mongoose.connect('mongodb://192.168.100.59:27017/fromEnzo', { useNewUrlParser: true, useUnifiedTopology: true })
+mongoose.connect('mongodb://192.168.100.59:27017/default', { useNewUrlParser: true, useUnifiedTopology: true })
     .then(() => console.log('Database connected'))
     .catch(err => console.log(err));
 

+ 1 - 1
test/test2.ts

@@ -12,7 +12,7 @@ let query = new SearchService()
 
 let mongoStorage : Storage = {
     type: `MongoDB`,
-    url: `mongodb://192.168.100.59:27017/fromEnzo`
+    url: `mongodb://192.168.100.59:27017/default`
 }
 
 // Array inquiry: should return mutiple data

+ 1 - 1
test/test3.ts

@@ -10,7 +10,7 @@ let connectionStatus = 0
 
 let mongoStorage: any = {
     type: `MongoDB`,
-    url: `mongodb://192.168.100.59:27017/fromEnzo`
+    url: `mongodb://192.168.100.59:27017/default`
 }
 
 let testSubject: Subject<any> = new Subject()