From 9a3e1c6e38fd6afe9a11809de84c84e57e9b6f19 Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Fri, 2 Jun 2017 19:07:34 +1000 Subject: [PATCH] fix formatting --- index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.ts b/index.ts index 4a8f505..5f286c1 100644 --- a/index.ts +++ b/index.ts @@ -3,11 +3,11 @@ import expresshb = require('express-handlebars'); var app = express(); -app.engine('handlebars', expresshb({defaultLayout: 'main'})); +app.engine('handlebars', expresshb({ defaultLayout: 'main' })); app.set('view engine', 'handlebars'); - + app.get('/', function (req, res) { - res.render('home'); + res.render('home'); }); app.listen(3000); \ No newline at end of file