Skip to content

Commit 7e36ce1

Browse files
committed
updated cors config
1 parent f1803b5 commit 7e36ce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/dev/jcodex/blog_api_server/config/CorsConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class CorsConfig implements WebMvcConfigurer {
1010
@Override
1111
public void addCorsMappings(CorsRegistry registry) {
1212
registry.addMapping("/**")
13-
.allowedOrigins("http://localhost:3000")
13+
.allowedOrigins("http://localhost:8080")
1414
.allowedMethods("GET", "POST", "PUT", "DELETE")
1515
.allowedHeaders("*")
1616
.allowCredentials(true)

0 commit comments

Comments
 (0)