aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/serve.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/serve.js b/lib/serve.js
index cb100ac..b24b9ae 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -517,7 +517,7 @@ Serve.prototype.blob = function (id) {
type = type && mime.lookup(type)
if (type) self.res.setHeader('Content-Type', type)
if (self.query.name) self.res.setHeader('Content-Disposition',
- 'attachment; filename='+encodeDispositionFilename(self.query.name))
+ 'inline; filename='+encodeDispositionFilename(self.query.name))
self.res.setHeader('Cache-Control', 'public, max-age=315360000')
self.res.setHeader('etag', id)
self.res.writeHead(200)