ソースを参照

xhr-upload: set upload protocol

Ifedapo Olarewaju 6 年 前
コミット
0a294f56fc
1 ファイル変更1 行追加0 行削除
  1. 1 0
      packages/@uppy/xhr-upload/src/index.js

+ 1 - 0
packages/@uppy/xhr-upload/src/index.js

@@ -324,6 +324,7 @@ module.exports = class XHRUpload extends Plugin {
         file.remote.url,
         Object.assign({}, file.remote.body, {
           endpoint: opts.endpoint,
+          protocol: 'multipart',
           size: file.data.size,
           fieldname: opts.fieldName,
           metadata: fields,