@@ -0,0 +1,915 @@
+package ch.rasc.eds.starter.config;%0A%0Aimport org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer;%0Aimport org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer;%0Aimport org.springframework.boot.context.embedded.MimeMappings;%0Aimport org.springframework.context.annotation.Configuration;%0A%0A@Configuration%0Apublic class WebFontMimeMapper implements EmbeddedServletContainerCustomizer %7B%0A%0A%09@Override%0A%09public void customize(ConfigurableEmbeddedServletContainer container) %7B%0A%09%09MimeMappings mappings = new MimeMappings(MimeMappings.DEFAULT);%0A%09%09mappings.add(%22svg%22, %22image/svg+xml%22);%0A%09%09mappings.add(%22eot%22, %22application/vnd.ms-fontobject%22);%0A%09%09mappings.add(%22woff%22, %22application/font-woff%22);%0A%09%09mappings.add(%22woff2%22, %22application/font-woff2%22);%0A%09%09mappings.add(%22ttf%22, %22application/font-sfnt%22);%0A%09%09mappings.add(%22otf%22, %22application/font-sfnt%22);%0A%09%09container.setMimeMappings(mappings);%0A%09%7D%0A%7D%0A

Add a mime mapper for webfonts