Skip to content

Commit b90da38

Browse files
Allowed to view news files
1 parent 0fcd0b0 commit b90da38

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/com/itasocialacademy/oitassist/security/config/SecurityConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ public SecurityFilterChain configure(HttpSecurity http) {
8282
"/api/v1/news/**",
8383
"/api/v1/user-activation/verify",
8484
"/ui",
85-
"/ui/**")
85+
"/ui/**",
86+
"/uploads/news/**")
8687
.permitAll()
8788
.requestMatchers(
8889
"/index.html",

0 commit comments

Comments
 (0)