We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7030859 commit 674950eCopy full SHA for 674950e
1 file changed
src/main/java/avengers/lion/global/config/CorsConfig.java
@@ -10,7 +10,7 @@ public class CorsConfig implements WebMvcConfigurer {
10
@Override
11
public void addCorsMappings(final CorsRegistry registry){
12
registry.addMapping("/**")
13
- .allowedOrigins("http://localhost:5173","http://localhost:3000", "https://lets-gu-front-end.vercel.app","https://letsgu.vercel.app")
+ .allowedOrigins("http://localhost:5173","http://localhost:3000", "https://lets-gu-front-end.vercel.app","https://letsgu.vercel.app", "http://localhost:5173")
14
.allowedMethods("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS")
15
.allowedHeaders("*")
16
.exposedHeaders("Authorization", "Cache-Control", "Content-Type")
0 commit comments