Skip to content

Commit

Permalink
Add set Global Prefix happiness
Browse files Browse the repository at this point in the history
  • Loading branch information
brubluenel committed Sep 11, 2024
1 parent afd6aaa commit b2ee536
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { AppModule } from './app.module';

async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3010, '0.0.0.0');
app.setGlobalPrefix('happiness');

await app.listen(3010);
}
bootstrap();

0 comments on commit b2ee536

Please sign in to comment.