aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.js6
1 files 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 {