Skip to content

Commit f874aee

Browse files
authored
feat(CORS): PATCH 메서드 추가 (#160)
1 parent 0dd69fa commit f874aee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/somemore/global/configure/WebConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public void addCorsMappings(CorsRegistry registry) {
1818
"https://www.somemore.site/",
1919
"https://api.somemore.site/"
2020
)
21-
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
21+
.allowedMethods("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS")
2222
.allowedHeaders("*")
2323
.allowCredentials(true)
2424
.maxAge(3600);

0 commit comments

Comments
 (0)