added reviews
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user