diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/serve.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/serve.js b/lib/serve.js index 0410a92..353b60a 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -1527,6 +1527,7 @@ Serve.prototype.image = function (path) { if (err) { console.trace(err) self.respond(500, err.message || err) + return } type = type && mime.lookup(type) if (type) self.res.setHeader('Content-Type', type) |