From 26f4b38e9e5a202756a7c33abc775aea2617aeaf Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Tue, 16 Apr 2019 09:00:34 -0400 Subject: updated port logging info --- app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app.js b/app.js index 013115c..968df53 100644 --- a/app.js +++ b/app.js @@ -30,9 +30,9 @@ var adminRoutes = require('./routes/admin'); // use the minifed css if the app running on production, otherwise use reg css var layout = (process.env.NODE_ENV == "production") ? 'layout_mini' : 'layout'; app.engine( - '.hbs', + '.hbs', hbs({ - extname: '.hbs', + extname: '.hbs', defaultLayout: layout, layoutsDir: __dirname + '/views/layouts/', // Set directory for base layout partialsDir: __dirname + '/views/partials', @@ -112,7 +112,7 @@ app.use(function(error, req, res, next) { dbFile.setupDB(function (success, mssg) { if (success) { // db establiseh server.listen(port, function(){ // now accept connections - console.log('listening on port 8080'); + console.log('listening on port 3000'); }); } else { -- cgit v1.2.3