mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: accept HEAD method to public URL endpoints
parent
a81d3f7c26
commit
ffd232b428
|
|
@ -94,6 +94,7 @@ public class SecurityConfig {
|
||||||
|
|
||||||
// Public API endpoints (must come before /api/** pattern)
|
// Public API endpoints (must come before /api/** pattern)
|
||||||
auth.requestMatchers(HttpMethod.GET, RequestMappings.API + "/config/openvidu-publicurl").permitAll()
|
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();
|
.requestMatchers(HttpMethod.GET, RequestMappings.ACCEPT_CERTIFICATE).permitAll();
|
||||||
|
|
||||||
// Secure recordings depending on OPENVIDU_RECORDING_PUBLIC_ACCESS
|
// Secure recordings depending on OPENVIDU_RECORDING_PUBLIC_ACCESS
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue