NIHVIVO-3484 Assign the correct mime type to the missing_link image.
This commit is contained in:
parent
b223feedb2
commit
18a532b42c
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ public class FileServingServlet extends VitroHttpServlet {
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.warn("Failed to serve the file at '" + path + "' -- " + e.getMessage());
|
log.warn("Failed to serve the file at '" + path + "' -- " + e.getMessage());
|
||||||
in = openMissingLinkImage(request);
|
in = openMissingLinkImage(request);
|
||||||
|
mimeType = "image/png";
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue