From 0de0c01ff48c8d197c982812add0494931f970f4 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Mon, 12 Jun 2023 16:01:58 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A0=95=EC=A0=81=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=84=9C=EB=B9=84=EC=8A=A4=20=EA=B2=BD=EB=A1=9C(/files/*)=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/base/boot/SecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cokr/xit/base/boot/SecurityConfig.java b/src/main/java/cokr/xit/base/boot/SecurityConfig.java index f058704..ed5d5d4 100644 --- a/src/main/java/cokr/xit/base/boot/SecurityConfig.java +++ b/src/main/java/cokr/xit/base/boot/SecurityConfig.java @@ -34,7 +34,7 @@ public class SecurityConfig { @Bean public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception { http.authorizeHttpRequests(conf -> - conf.antMatchers("/resources/**", "/login.do", "/logout.do", "/error/*.do").permitAll() + conf.antMatchers("/resources/**", "/files/**", "/login.do", "/logout.do", "/error/*.do").permitAll() .antMatchers("/**/*.do").access(authorizationManager()) .anyRequest().authenticated() )