added reviews

This commit is contained in:
SlimusMinus
2026-06-23 00:09:57 +03:00
parent c80cbdf976
commit c49f2d108b
11 changed files with 181 additions and 5 deletions

View File

@@ -28,6 +28,7 @@ public class SecurityConfig {
// Public endpoints
.requestMatchers("/api/v1/auth/**").permitAll()
.requestMatchers(org.springframework.http.HttpMethod.GET, "/api/v1/posts/**").permitAll()
.requestMatchers("/api/v1/reviews/**").permitAll()
.requestMatchers("/files/**", "/uploads/**").permitAll()
.requestMatchers("/ws/**").permitAll()
// All other endpoints require authentication