From da99165531aa47c0af82c82463acf51874aff117 Mon Sep 17 00:00:00 2001 From: Mathis Date: Tue, 9 Jul 2024 15:02:54 +0200 Subject: [PATCH] style(main): Reformat code for readability The main.ts file has been reformatted according to the coding standards. This change includes correcting several indentation issues and ensuring that all imports are properly grouped. There is no impact on functionality. --- src/main.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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();