diff --git a/packages/apps/job-launcher/server/src/main.ts b/packages/apps/job-launcher/server/src/main.ts index 8ca781e533..b3916c1f73 100644 --- a/packages/apps/job-launcher/server/src/main.ts +++ b/packages/apps/job-launcher/server/src/main.ts @@ -1,7 +1,6 @@ import session from 'express-session'; import { NestFactory } from '@nestjs/core'; import { ConfigService } from '@nestjs/config'; -import { NestExpressApplication } from '@nestjs/platform-express'; import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger'; import { json, urlencoded } from 'body-parser'; import { useContainer } from 'class-validator'; @@ -12,9 +11,10 @@ import { AppModule } from './app.module'; import { ConfigNames } from './common/config'; import { createWriteStream } from 'fs'; import { get } from 'http'; +import { INestApplication } from '@nestjs/common'; async function bootstrap() { - const app = await NestFactory.create(AppModule, { + const app = await NestFactory.create(AppModule, { cors: true, });