Skip to content

Commit

Permalink
debugging hbs issue
Browse files Browse the repository at this point in the history
  • Loading branch information
enochval committed Jun 17, 2024
1 parent 8c962aa commit 83ce5f3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ async function bootstrap() {

app.useStaticAssets(join(__dirname, '..', 'public'));
app.setBaseViewsDir(join(__dirname, '..', 'views'));
app.setViewEngine('hbs');
app.setViewEngine('html');
app.engine('html', require('hbs').__express)

await app.listen(3000);
}
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 83ce5f3

Please sign in to comment.