From ecb1cf59707d8d776c43a6e90ad6227d92f0f0da Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Sun, 18 Jun 2023 22:01:42 -0400 Subject: [PATCH] port --- src/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 5b4d68a..d63971c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,8 +3,10 @@ import { FastifyAdapter, NestFastifyApplication } from '@nestjs/platform-fastify import { AppModule } from './app.module'; +const PORT = 42495; async function bootstrap() { const app = await NestFactory.create(AppModule, new FastifyAdapter()); - await app.listen(42495, '0.0.0.0'); + await app.listen(PORT, '0.0.0.0'); + console.log(`http listening on port ${PORT}`) } bootstrap();