mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: add MimeMappings for serving webm files
parent
c4e5e5c822
commit
16019da939
|
@ -29,6 +29,7 @@ public class ServletCustomizer implements EmbeddedServletContainerCustomizer {
|
|||
public void customize(ConfigurableEmbeddedServletContainer container) {
|
||||
MimeMappings mappings = new MimeMappings(MimeMappings.DEFAULT);
|
||||
mappings.add("mp4", "video/mp4");
|
||||
mappings.add("webm", "video/webm");
|
||||
container.setMimeMappings(mappings);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue