Serve fonts for local PolyGerrit development
Packs fonts the same way bower_components are packed, with a 'fonts' folder inside fonts.zip. Also removes deprecated OpenSans fonts from build files. Bug: Issue 4893 Change-Id: I7fc11d6e689c7d5b1d68d09e94ee7aaba91ded9b
This commit is contained in:
@@ -87,6 +87,8 @@ public abstract class ResourceServlet extends HttpServlet {
|
||||
.put("tif", "image/tiff")
|
||||
.put("tiff", "image/tiff")
|
||||
.put("txt", "text/plain")
|
||||
.put("woff", "font/woff")
|
||||
.put("woff2", "font/woff2")
|
||||
.build();
|
||||
|
||||
protected static String contentType(String name) {
|
||||
|
Reference in New Issue
Block a user