Skip to content

Commit

Permalink
update: import route updated
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipOyelegbin committed Dec 14, 2024
1 parent 8e24cf9 commit f10ae6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion movie_api/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function bootstrap() {
.addBearerAuth()
.build();
const documentFactory = () => SwaggerModule.createDocument(app, config);
SwaggerModule.setup('/', app, documentFactory);
SwaggerModule.setup('/doc', app, documentFactory);

await app.listen(process.env.PORT ?? 3000);
}
Expand Down

0 comments on commit f10ae6c

Please sign in to comment.