mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 07:34:54 +00:00
Merge pull request #69 from SyncrowIOT/SP-309-Rename-main-app-module
Sp 309 rename main app module
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
{
|
||||
"singleQuote": true,
|
||||
"trailingComma": "all"
|
||||
"trailingComma": "all",
|
||||
"endOfLine": "auto"
|
||||
}
|
||||
@ -57,4 +57,4 @@ import { TimeZoneModule } from './timezone/timezone.module';
|
||||
},
|
||||
],
|
||||
})
|
||||
export class AuthModule {}
|
||||
export class AppModule {}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { NestFactory } from '@nestjs/core';
|
||||
import { AuthModule } from './app.module';
|
||||
import { AppModule } from './app.module';
|
||||
import rateLimit from 'express-rate-limit';
|
||||
import helmet from 'helmet';
|
||||
import { setupSwaggerAuthentication } from '../libs/common/src/util/user-auth.swagger.utils';
|
||||
@ -8,7 +8,7 @@ import { json, urlencoded } from 'body-parser';
|
||||
import { SeederService } from '@app/common/seed/services/seeder.service';
|
||||
|
||||
async function bootstrap() {
|
||||
const app = await NestFactory.create(AuthModule);
|
||||
const app = await NestFactory.create(AppModule);
|
||||
|
||||
app.enableCors();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user