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 56b981b..066f5d4 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -2458,7 +2458,7 @@ Serve.prototype.composer = function (opts, cb) {
if (data.upload) {
var href = data.upload.link
- + (data.upload.key ? '#' + data.upload.key : '')
+ + (data.upload.key ? '?unbox=' + data.upload.key + '.boxs': '')
// TODO: be able to change the content-type
var isImage = /^image\//.test(data.upload.type)
data.text = (data.text ? data.text + '\n' : '')