Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

content-type

  • Loading branch information...
commit cf07c5e4d6ce568bf89a246ecc009e67e1021a07 1 parent 1f5de03
@aheckmann authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  ops.js
View
1  ops.js
@@ -121,6 +121,7 @@ function write (base, res, next) {
base.stream('png', function (err, stdout, stderr) {
if (err) return next(err);
res.setHeader('Expires', new Date(Date.now() + 604800000));
+ res.setHeader('Content-Type', 'image/png');
stdout.pipe(res);
});
}
Please sign in to comment.
Something went wrong with that request. Please try again.