diff --git a/src/main.ts b/src/main.ts index ae94bc2..d336598 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,17 +3,17 @@ import { NestFactory } from "@nestjs/core"; import { FastifyAdapter, type NestFastifyApplication, -} from '@nestjs/platform-fastify'; -import { AppModule } from "./app.module"; +} from "@nestjs/platform-fastify"; import helmet from "helmet"; +import { AppModule } from "./app.module"; async function bootstrap() { const app = await NestFactory.create( AppModule, - new FastifyAdapter({logger: true}) + new FastifyAdapter({ logger: true }), ); - app.use(helmet()) + app.use(helmet()); app.enableCors(); - await app.listen(process.env.APP_PORT || 3333, '0.0.0.0'); + await app.listen(process.env.APP_PORT || 3333, "0.0.0.0"); } -bootstrap(); \ No newline at end of file +bootstrap();