diff options
| author | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-22 02:45:41 +0000 |
|---|---|---|
| committer | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-22 02:45:41 +0000 |
| commit | 21b3b50f84e7c4c4d30f2e5c73a444a0288e1c5d (patch) | |
| tree | 85f2ad3b2d07a0f902273bd443244cc0d3f974c9 /app.js | |
| parent | 12659ff5704a04d2447f5dbf036541676c59f139 (diff) | |
| parent | 49d11776dc2b96cf93e04d15c11a02f880fa8941 (diff) | |
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
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()); |
