From 1ec36f8994c222c76f999a38b03fe808fa094871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=ED=98=B8=EB=B9=88?= Date: Fri, 31 May 2024 00:00:03 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20cors=20=ED=95=B4=EA=B2=B0=EC=9D=84=20?= =?UTF-8?q?=EC=9C=84=ED=95=9C=20OriginPattern=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- be/issue-tracker/src/main/java/com/issuetracker/WebConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/be/issue-tracker/src/main/java/com/issuetracker/WebConfig.java b/be/issue-tracker/src/main/java/com/issuetracker/WebConfig.java index b775784e7..6934cb8f1 100644 --- a/be/issue-tracker/src/main/java/com/issuetracker/WebConfig.java +++ b/be/issue-tracker/src/main/java/com/issuetracker/WebConfig.java @@ -20,6 +20,7 @@ public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") .allowedOriginPatterns("https://issue-tracker.site", "http://*:3000") .allowedMethods("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS") + .allowedOriginPatterns("*") .allowedHeaders("*") .allowCredentials(true); }