Skip to content

Commit 495bada

Browse files
authored
Merge pull request #41 from gotothesky2/XSwork
typing mistake
2 parents 87884d4 + d0c8a07 commit 495bada

File tree

1 file changed

+2
-2
lines changed
  • src/main/java/hackerthon/likelion13th/canfly/global/config

1 file changed

+2
-2
lines changed

src/main/java/hackerthon/likelion13th/canfly/global/config/WebConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ public class WebConfig implements WebMvcConfigurer {
1010
@Override
1111
public void addCorsMappings(CorsRegistry registry) {
1212
registry.addMapping("/**") // 애플리케이션의 모든 API 경로에 대해 CORS 설정을 적용합니다.
13-
.allowedOrigins("http://localhost:8080", "http://127.0.0.1:8080", "https://localhost:3000", "https://can-fly.netlify.app/") // 로컬 환경의 Swagger UI
14-
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS", "PATCH") // 허용할 HTTP 메서드를 지정합니다.
13+
.allowedOrigins("http://localhost:8080", "http://127.0.0.1:8080", "http://localhost:3000", "http://127.0.0.1:3000", "https://can-fly.netlify.app/") // 로컬 환경의 Swagger UI
14+
.allowedMethods("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS") // 허용할 HTTP 메서드를 지정합니다.
1515
.allowedHeaders("*") // 모든 HTTP 헤더를 허용합니다.
1616
.allowCredentials(true); // 쿠키 및 인증 정보를 포함한 요청을 허용합니다.
1717
}

0 commit comments

Comments
 (0)