From b3f98ea82f4a40638151c6366a54f117a0eb0198 Mon Sep 17 00:00:00 2001 From: whitemark Date: Tue, 2 Apr 2024 00:33:01 +0900 Subject: [PATCH] =?UTF-8?q?[feature/#275]=20production=20cors=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/inhabas/api/auth/config/ProdCorsConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module-auth/src/main/java/com/inhabas/api/auth/config/ProdCorsConfig.java b/module-auth/src/main/java/com/inhabas/api/auth/config/ProdCorsConfig.java index 05cfb021..a9ae79ad 100644 --- a/module-auth/src/main/java/com/inhabas/api/auth/config/ProdCorsConfig.java +++ b/module-auth/src/main/java/com/inhabas/api/auth/config/ProdCorsConfig.java @@ -15,7 +15,7 @@ public void addCorsMappings(CorsRegistry registry) { .addMapping("/**") .allowedOrigins("https://inhabas.com") .allowedMethods("OPTIONS", "GET", "POST", "PUT", "DELETE") - .allowedHeaders("Authorization", "Content-Type") + .allowedHeaders("Authorization") .maxAge(3600); } }