mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-03-27 02:02:10 +01:00
port
This commit is contained in:
parent
7d36b8ae23
commit
ecb1cf5970
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user