openvidu-server: accept HEAD method to public URL endpoints

v2
pabloFuente 2025-11-03 18:43:36 +01:00
parent a81d3f7c26
commit ffd232b428
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ public class SecurityConfig {
// Public API endpoints (must come before /api/** pattern)
auth.requestMatchers(HttpMethod.GET, RequestMappings.API + "/config/openvidu-publicurl").permitAll()
.requestMatchers(HttpMethod.HEAD, RequestMappings.API + "/config/openvidu-publicurl").permitAll()
.requestMatchers(HttpMethod.GET, RequestMappings.ACCEPT_CERTIFICATE).permitAll();
// Secure recordings depending on OPENVIDU_RECORDING_PUBLIC_ACCESS