From fbafce829247fa25f8bb3d05b35f0f7bc48d6575 Mon Sep 17 00:00:00 2001 From: Simon Keary Date: Wed, 29 Aug 2018 22:36:28 +0800 Subject: [PATCH] Support adding files using filestore --- src/utils/send-files-stream.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/utils/send-files-stream.js b/src/utils/send-files-stream.js index 46a57e383..1b53d0067 100644 --- a/src/utils/send-files-stream.js +++ b/src/utils/send-files-stream.js @@ -22,6 +22,10 @@ function headers (file) { header['Content-Type'] = 'application/octet-stream' } + if (file.abspath) { + header.Abspath = file.abspath + } + return header }