Skip to content

Commit

Permalink
referer / 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
장준하 authored and 장준하 committed Aug 7, 2024
1 parent 92a2d70 commit 40c0634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/newCar/event_page/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void addInterceptors(InterceptorRegistry registry) {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOriginPatterns("http://www.batro.org", "https://www.batro.org", "http://1.231.159.76", "https://1.231.159.76")
.allowedOriginPatterns("http://www.batro.org", "https://www.batro.org", "http://1.231.159.76", "https://1.231.159.76", "http://www.batro.org/", "https://www.batro.org/")
.allowCredentials(true)
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
.maxAge(3600);
Expand Down

0 comments on commit 40c0634

Please sign in to comment.