Skip to content

Commit 96d87e9

Browse files
author
Bogdan Abaev
committed
kuku
1 parent 2cbdf62 commit 96d87e9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CLI/CLI.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const yargs = require('yargs')
22
const request = require('request')
33
const fs = require('fs');
44
//host = "http://localhost:3000";
5-
host = "http://18.233.168.151:80";
5+
host = "http://54.237.77.73:80";
66
path = "/Users/bogdanabaev/RandomProgramming/node/notes/CLI/"
77

88

server/mongoUtils.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11

22
const { MongoClient} = require('mongodb');
33

4-
//const connectionUrl = process.env.DB_URL? process.env.DB_URL:'mongodb://mongo:27017/';
5-
const connectionUrl = 'mongodb://127.0.0.1:27017';
4+
//'mongodb://127.0.0.1:27017';
5+
const connectionUrl = 'mongodb://mongo:27017/';
6+
67
const database = 'task_manager'
78
var db;
89
var dbClient;

0 commit comments

Comments
 (0)