Skip to content

Commit 0d3636c

Browse files
cors설정 코드 수정
1 parent 1f39ad1 commit 0d3636c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/com/shallwe/global/config/WebConfig.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@ public void addCorsMappings(CorsRegistry registry) {
1818
.allowedMethods(HttpMethod.GET.name(), HttpMethod.POST.name(), HttpMethod.PATCH.name(), HttpMethod.DELETE.name(), HttpMethod.OPTIONS.name(),
1919
HttpMethod.HEAD.name(), HttpMethod.TRACE.name(), HttpMethod.OPTIONS.name()) // 허용 method
2020
.allowedHeaders("Authorization", "Content-Type"); // 허용 header
21-
.allowCredentials(true);
2221
}
2322
}

0 commit comments

Comments
 (0)