diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-04-03 17:23:22 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-04-03 17:23:22 -1000 |
commit | 3fbee1e4502f377cce08d67b443aab5f950f2c8d (patch) | |
tree | ebc16aa83f66407fd3ef121ae7d7eeb8e9e4ad46 | |
parent | 3d49987a1e25cdaafa4b9b7ae583f519a1d2a935 (diff) | |
download | patchfoo-3fbee1e4502f377cce08d67b443aab5f950f2c8d.tar.gz patchfoo-3fbee1e4502f377cce08d67b443aab5f950f2c8d.zip |
Fix fallthrough
-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) |