From 73fd78852b4163831bfb611b310a917bae691f27 Mon Sep 17 00:00:00 2001 From: Hyomin Koo Date: Sun, 29 Sep 2024 07:28:22 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20error=20response=20body=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/dev/gooiman/server/config/security/SecurityConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/dev/gooiman/server/config/security/SecurityConfig.java b/src/main/java/dev/gooiman/server/config/security/SecurityConfig.java index 6dab78b..bee5611 100644 --- a/src/main/java/dev/gooiman/server/config/security/SecurityConfig.java +++ b/src/main/java/dev/gooiman/server/config/security/SecurityConfig.java @@ -44,6 +44,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti session -> session.sessionCreationPolicy(SessionCreationPolicy.STATELESS)) .headers(headers -> headers.frameOptions(FrameOptionsConfig::sameOrigin)) .authorizeHttpRequests(auth -> auth + .requestMatchers("/error").permitAll() // error .requestMatchers("/api").permitAll() // health check .requestMatchers("/swagger-ui/**", "/v3/api-docs/**").permitAll() // swagger .requestMatchers(HttpMethod.PUT, "/api/page/**").permitAll() // page 생성