diff --git a/src/main.ts b/src/main.ts index 0d628f7..60d1309 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,10 +1,10 @@ -import fs from 'fs'; import { ValidationPipe } from '@nestjs/common'; import { NestFactory } from '@nestjs/core'; import { SwaggerModule } from '@nestjs/swagger'; import { AppModule } from './app.module'; import { swaggerConfig } from './swagger'; import * as helmet from 'helmet'; +import fs from 'fs'; async function bootstrap() { // DigitalOcean Apps has cert as environment variable but Mongo needs a file path