diff options
| author | HumairAK <humair88@hotmail.com> | 2016-07-22 01:57:36 +0000 |
|---|---|---|
| committer | HumairAK <humair88@hotmail.com> | 2016-07-22 01:57:36 +0000 |
| commit | 49d11776dc2b96cf93e04d15c11a02f880fa8941 (patch) | |
| tree | 52574598d74525b8595eca82510b4b422fed104f /app.js | |
| parent | 797b4fe83ed4ebbed47930c7d0d0a34cd37703c6 (diff) | |
made further changes to admin panel and index.js
Diffstat (limited to 'app.js')
| -rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ app.engine('.hbs', hbs({extname: '.hbs', defaultLayout: 'layout', partialsDir: __dirname + '/views/partials'})); // Set directory for partials app.set('views', path.join(__dirname, 'views')); // Our view path -app.set('view engine', '.hbs'); +app.set('view engine', 'hbs'); // Middleware initialization, make sure everything is initialized in proper order app.use(bodyParser.json()); |
