Skip to content

Commit 31a10f4

Browse files
author
Bogdan Abaev
committed
code pipeline should work
1 parent d041eae commit 31a10f4

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

server/imagedefinitions.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

server/mongoUtils.js

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

22
const { MongoClient, ObjectId } = 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+
const connectionUrl = process.env.DB_URL? process.env.DB_URL:'mongodb://mongo:27017/';
5+
//const connectionUrl = 'mongodb://127.0.0.1:27017';
66
const database = 'task_manager'
77
var db;
88
var dbClient;

server/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const notes = require('./timeTracker.js');
33
const express = require('express');
44
var graphqlHTTP = require('express-graphql');
55
var { buildSchema } = require('graphql');
6-
const port = 4000;
6+
const port = 3000;
77
const app = express();
88

99
var schema = buildSchema(`

0 commit comments

Comments
 (0)