Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
force content-type image/png for /images. fixes #2466
Browse files Browse the repository at this point in the history
  • Loading branch information
dannycoates committed Apr 10, 2017
1 parent 377b67f commit cec4acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ app.get("/images/:imageid", function (req, res) {
el: embedded ? "direct-view-embedded" : "direct-view"
}).send();
}
res.header("Content-Type", obj.contentType);
res.header("Content-Type", "image/png");
res.status(200);
res.send(obj.data);
}
Expand Down

0 comments on commit cec4acc

Please sign in to comment.