Skip to content

Commit

Permalink
fix: SecurityConfig 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seoshinehyo committed Dec 22, 2024
1 parent 300800d commit cf30365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/dearnote/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class WebConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:5173")
.allowedOrigins("http://localhost:5173", "http://43.203.252.85")
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
.allowedHeaders("Authorization", "Refresh","Content-Type", "X-Requested-With")
.allowCredentials(true);
Expand Down

0 comments on commit cf30365

Please sign in to comment.