From b6ee0b13beb26b35f4f59ca030ced9ce4e8482c6 Mon Sep 17 00:00:00 2001 From: yooonwodyd Date: Fri, 15 Nov 2024 11:56:55 +0900 Subject: [PATCH] refactor:[#84]- refact Security MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cors 변경 --- .../com/helpmeCookies/global/security/WebSecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/helpmeCookies/global/security/WebSecurityConfig.java b/src/main/java/com/helpmeCookies/global/security/WebSecurityConfig.java index 71b28ba..55f9062 100644 --- a/src/main/java/com/helpmeCookies/global/security/WebSecurityConfig.java +++ b/src/main/java/com/helpmeCookies/global/security/WebSecurityConfig.java @@ -65,7 +65,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { http.csrf(AbstractHttpConfigurer::disable); http.sessionManagement((session) -> session .sessionCreationPolicy(SessionCreationPolicy.STATELESS)); - + http.cors(AbstractHttpConfigurer::disable); http.authorizeHttpRequests((authorize) -> authorize .requestMatchers(