diff options
| author | Kumar Damani <kumar.damani@mail.utoronto.ca> | 2019-04-16 13:00:34 +0000 |
|---|---|---|
| committer | Kumar Damani <kumar.damani@mail.utoronto.ca> | 2019-04-16 13:00:34 +0000 |
| commit | 26f4b38e9e5a202756a7c33abc775aea2617aeaf (patch) | |
| tree | dfca208be9df0294367ddc61220970725d118836 /app.js | |
| parent | 62b53c0971765a4e5f5d447188eb90bd22571424 (diff) | |
updated port logging info
Diffstat (limited to 'app.js')
| -rw-r--r-- | app.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 { |
