Skip to content

Commit

Permalink
chore: allowed origins 표현식 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seokheePark committed Dec 10, 2024
1 parent f6826c7 commit dcb2e82
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ public class SecurityConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:5173")
.allowedOrigins("https://www.bhohwa.click")
.allowedOrigins("https://bhohwa.click")
.allowedOrigins(
"http://localhost:5173",
"https://www.bhohwa.click",
"https://bhohwa.click"
)
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS");
}

Expand Down

0 comments on commit dcb2e82

Please sign in to comment.