fix mimetype
This commit is contained in:
parent
8c5ae9d052
commit
2576975988
1 changed files with 0 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue