Skip to content

Commit

Permalink
moved public and views folder
Browse files Browse the repository at this point in the history
  • Loading branch information
egerj committed Apr 1, 2021
1 parent 0cec684 commit 47233f6
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ async function bootstrap() {
const document = SwaggerModule.createDocument(app, config);
SwaggerModule.setup('docs', app, document, options);

app.useStaticAssets(join(__dirname, '..', 'public'));
app.setBaseViewsDir(join(__dirname, '..', 'views'));
app.useStaticAssets(join(__dirname, 'public'));
app.setBaseViewsDir(join(__dirname, 'views'));
app.setViewEngine('hbs');

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

0 comments on commit 47233f6

Please sign in to comment.