This commit is contained in:
Ben Wilson 2023-06-18 22:01:42 -04:00
parent 7d36b8ae23
commit ecb1cf5970

View File

@ -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<NestFastifyApplication>(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();