mirror of
https://github.com/italicsjenga/handlebars-ipinfo.git
synced 2024-11-24 05:21:29 +11:00
fix formatting
This commit is contained in:
parent
61cca62bf6
commit
9a3e1c6e38
4
index.ts
4
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);
|
Loading…
Reference in a new issue