From b7c8b0a4cfee4409a82b23f6742dafa4bb7b0f9a Mon Sep 17 00:00:00 2001 From: Hyang-Dan Date: Sun, 14 Dec 2025 02:48:28 +0900 Subject: [PATCH] =?UTF-8?q?issue=20#=20=EC=84=9C=EB=B2=84=20=EC=9D=B4?= =?UTF-8?q?=EC=8A=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index b861fd3..e5ad215 100644 --- a/src/main.ts +++ b/src/main.ts @@ -21,7 +21,7 @@ async function bootstrap() { } const app = await NestFactory.create( AppModule, - new FastifyAdapter({ https: httpsOptions }) + new FastifyAdapter(!isProd ? { https: httpsOptions } : undefined) ); app.enableCors({ origin: (origin, callback) => {