Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Commit 5f0a8cc

Browse files
committed
fix: mongo cert write file
1 parent 994288a commit 5f0a8cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import fs from 'fs';
21
import { ValidationPipe } from '@nestjs/common';
32
import { NestFactory } from '@nestjs/core';
43
import { SwaggerModule } from '@nestjs/swagger';
54
import { AppModule } from './app.module';
65
import { swaggerConfig } from './swagger';
76
import * as helmet from 'helmet';
7+
import fs from 'fs';
88

99
async function bootstrap() {
1010
// DigitalOcean Apps has cert as environment variable but Mongo needs a file path

0 commit comments

Comments
 (0)