Skip to content

Commit 3e26667

Browse files
author
grunzwei-fresh
committed
configure to work with codefresh
1 parent 9a861c1 commit 3e26667

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// set up ======================================================================
44
var express = require('express');
55
var app = express(); // create our app w/ express
6-
var port = process.env.PORT || 9090;
6+
var port = process.env.PORT || 9000;
77
var mongoose = require('mongoose'); // mongoose for mongodb // set the port
88
var database = require('./config/database'); // load the database config
99

config/database.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
module.exports = {
44
// mongo database connection url
5-
url : 'mongodb://localhost/express_angular_mongo_demo'
5+
url : process.env.MONGO_URI
66
};

0 commit comments

Comments
 (0)