From f705f8740f07c0e732729e5faf849ea5a1869230 Mon Sep 17 00:00:00 2001 From: wlstmd Date: Wed, 10 Jul 2024 14:24:37 +0900 Subject: [PATCH] cicd test --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index c482ba2..af4e45a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -11,7 +11,7 @@ async function bootstrap() { const app = await NestFactory.create(AppModule); app.enableCors({ origin: '*', - methods: ['GET', 'POST', 'PUT', 'DELETE'], + methods: ['GET'], allowedHeaders: 'Content-Type, Accept', credentials: true, }); @@ -33,7 +33,7 @@ async function bootstrap() { module.hot.dispose(() => app.close()); } - console.log(`Listening on port ${port}`); + console.log(`Listening on port ${port}!`); } catch (error) { console.error('Error during bootstrap:', error); }