Skip to content

Commit

Permalink
✨ Feat: 프론트 url 접근 허용
Browse files Browse the repository at this point in the history
  • Loading branch information
ShimFFF committed Aug 22, 2024
1 parent c2abd3b commit f5e0f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/gaji/service/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public CorsConfigurationSource corsConfigurationSource() {


CorsConfiguration configuration = new CorsConfiguration();
configuration.setAllowedOrigins(Arrays.asList(frontUrl, "http://3.35.119.128"));
configuration.setAllowedOrigins(Arrays.asList("http://localhost:3000", "https://genuine-valkyrie-e0010a.netlify.app/","http://gaji.run", "http://3.35.119.128"));
configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "DELETE", "OPTIONS"));
configuration.setAllowedHeaders(Arrays.asList("*"));
configuration.setExposedHeaders(Arrays.asList("Authorization", "Set-Cookie"));
Expand Down

0 comments on commit f5e0f7f

Please sign in to comment.