fix : 첨부파일 다운로드
This commit is contained in:
@@ -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 ->
|
||||
|
||||
@@ -39,7 +39,7 @@ import java.util.Map;
|
||||
|
||||
@Slf4j
|
||||
@Controller
|
||||
@RequestMapping("/mngr/file")
|
||||
@RequestMapping(value={"/mngr/file","/file"})
|
||||
public class FileController {
|
||||
|
||||
@Autowired
|
||||
|
||||
Reference in New Issue
Block a user