Merge pull request #69 from SyncrowIOT/SP-309-Rename-main-app-module

Sp 309 rename main app module
This commit is contained in:
faris Aljohari
2024-08-01 12:16:06 +03:00
committed by GitHub
4 changed files with 6 additions and 5 deletions

View File

@ -52,4 +52,4 @@ jobs:
--name ${{ env.AZURE_WEB_APP_NAME }} \ --name ${{ env.AZURE_WEB_APP_NAME }} \
--resource-group backend \ --resource-group backend \
--docker-custom-image-name ${{ env.ACR_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }} \ --docker-custom-image-name ${{ env.ACR_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }} \
--docker-registry-server-url https://${{ env.ACR_REGISTRY }} --docker-registry-server-url https://${{ env.ACR_REGISTRY }}

View File

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

View File

@ -57,4 +57,4 @@ import { TimeZoneModule } from './timezone/timezone.module';
}, },
], ],
}) })
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';
@ -8,7 +8,7 @@ import { json, urlencoded } from 'body-parser';
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();