Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
set global prefix (aka base path)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoeppner-dataport committed Mar 4, 2024
1 parent 357c188 commit 1133ad0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule, {
cors: true,
});
app.setGlobalPrefix('bc-6683-poc-board-collaboration');
await app.listen(3000); // TODO: use env variable
}
bootstrap();

0 comments on commit 1133ad0

Please sign in to comment.