Skip to content

Commit 674950e

Browse files
authored
Update CorsConfig.java
1 parent 7030859 commit 674950e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/avengers/lion/global/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(final CorsRegistry registry){
1212
registry.addMapping("/**")
13-
.allowedOrigins("http://localhost:5173","http://localhost:3000", "https://lets-gu-front-end.vercel.app","https://letsgu.vercel.app")
13+
.allowedOrigins("http://localhost:5173","http://localhost:3000", "https://lets-gu-front-end.vercel.app","https://letsgu.vercel.app", "http://localhost:5173")
1414
.allowedMethods("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS")
1515
.allowedHeaders("*")
1616
.exposedHeaders("Authorization", "Cache-Control", "Content-Type")

0 commit comments

Comments
 (0)