Skip to content

Commit

Permalink
chore: api prefix설정
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungGwan123 committed Nov 21, 2024
1 parent 5f06576 commit 5f61526
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/server/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ async function bootstrap() {
app.setGlobalPrefix('api');
app.useGlobalFilters(new AllExceptionsFilter());

await app.listen(process.env.PORT ?? 3000);
app.setGlobalPrefix('api');

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

0 comments on commit 5f61526

Please sign in to comment.