diff --git a/src/main.ts b/src/main.ts index e560dad..348714d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -27,7 +27,7 @@ async function bootstrap() { SwaggerModule.setup('api', app, document); //cors 정책 test2 app.enableCors({ - origin: ['http://localhost:5173','https://accounts.kakao.com'], + origin: ['http://localhost:5173'], methods: 'GET,HEAD,PUT,PATCH,POST,DELETE', credentials: true, // 쿠키를 사용하려면 true로 설정 exposedHeaders: ['accessToken', 'refreshToken'],