changed the name of the main module from AuthModule to AppModule

This commit is contained in:
yousef-alkhrissat
2024-07-31 01:44:51 +03:00
parent afd1da7c51
commit 578994b856
3 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,5 @@
{ {
"singleQuote": true, "singleQuote": true,
"trailingComma": "all" "trailingComma": "all",
"endOfLine": "auto"
} }

View File

@ -52,4 +52,4 @@ import { LoggingInterceptor } from './interceptors/logging.interceptor';
}, },
], ],
}) })
export class AuthModule {} export class AppModule {}

View File

@ -1,5 +1,5 @@
import { NestFactory } from '@nestjs/core'; import { NestFactory } from '@nestjs/core';
import { AuthModule } from './app.module'; import { AppModule } from './app.module';
import rateLimit from 'express-rate-limit'; import rateLimit from 'express-rate-limit';
import helmet from 'helmet'; import helmet from 'helmet';
import { setupSwaggerAuthentication } from '../libs/common/src/util/user-auth.swagger.utils'; import { setupSwaggerAuthentication } from '../libs/common/src/util/user-auth.swagger.utils';
@ -7,7 +7,7 @@ import { ValidationPipe } from '@nestjs/common';
import { SeederService } from '@app/common/seed/services/seeder.service'; import { SeederService } from '@app/common/seed/services/seeder.service';
async function bootstrap() { async function bootstrap() {
const app = await NestFactory.create(AuthModule); const app = await NestFactory.create(AppModule);
app.enableCors(); app.enableCors();