Skip to content

Commit

Permalink
๐Ÿš‘๏ธ [fix] CORS ์„ค์ • ๋ณ€๊ฒฝ
Browse files Browse the repository at this point in the history
  • Loading branch information
y2hscmtk committed Aug 4, 2024
1 parent e66db07 commit 0e4626f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
public CorsConfiguration getCorsConfiguration(HttpServletRequest request) {

CorsConfiguration configuration = new CorsConfiguration();
// configuration.setAllowedOriginPatterns(Collections.singletonList("*"));
configuration.setAllowedOrigins(Collections.singletonList("https://bugnyang2.netlify.app"));
configuration.setAllowedOriginPatterns(Collections.singletonList("*"));
// configuration.setAllowedOrigins(Collections.singletonList("https://bugnyang2.netlify.app"));
configuration.setAllowedMethods(Collections.singletonList("*"));
configuration.setAllowCredentials(true);
configuration.setAllowedHeaders(Collections.singletonList("*"));
Expand Down

0 comments on commit 0e4626f

Please sign in to comment.