Skip to content

Commit

Permalink
[FIX/#103] 서버 도메인 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
seokbeom00 committed Jul 17, 2024
1 parent 102190c commit a15e116
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class WebConfig implements WebMvcConfigurer {
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:8080", "http://localhost:8081", "http://localhost:5173",
"https://api.seonyak-dev.kro.kr")
"https://api.seonyak-dev.kro.kr", "https://www.seonyak.com")
.allowedMethods("GET", "POST", "PUT", "DELETE")
.allowedHeaders("*")
.allowCredentials(true)
Expand Down

0 comments on commit a15e116

Please sign in to comment.