fix : 첨부파일 다운로드

This commit is contained in:
jazz
2025-12-22 18:05:52 +09:00
parent 388e41f06f
commit 03f6804253
4 changed files with 50 additions and 205 deletions

View File

@@ -113,7 +113,7 @@ public class ResourceServerConfig {
OrRequestMatcher resourceMatchers = new OrRequestMatcher(resourcePath);
return http
.securityMatcher("/sopmal/**", "/oauth2/**", "/login/oauth2/**")
.securityMatcher("/sopmal/**", "/oauth2/**", "/login/oauth2/**","/file/*")
.headers((headers)->headers.frameOptions(HeadersConfigurer.FrameOptionsConfig::sameOrigin))
.csrf(AbstractHttpConfigurer::disable)
.authorizeHttpRequests(authorize ->

View File

@@ -39,7 +39,7 @@ import java.util.Map;
@Slf4j
@Controller
@RequestMapping("/mngr/file")
@RequestMapping(value={"/mngr/file","/file"})
public class FileController {
@Autowired