fix mimetype

This commit is contained in:
Bill Burke 2014-04-30 14:25:23 -04:00
parent 8c5ae9d052
commit 2576975988

View file

@ -49,7 +49,6 @@ public class AdminResource {
InputStream resource = theme.getResourceAsStream(path);
if (resource != null) {
String contentType = mimeTypes.getContentType(path);
logger.info("contentType: " + contentType);
return Response.ok(resource).type(contentType).build();
} else {
return Response.status(Response.Status.NOT_FOUND).build();