xhrupload: Fix default HTTP method.

This commit is contained in:
Renée Kooi 2017-07-24 18:38:32 +02:00
parent c012fc8fea
commit 6af8bb774d
No known key found for this signature in database
GPG key ID: 30516CF2A8E63718

View file

@ -13,6 +13,7 @@ module.exports = class XHRUpload extends Plugin {
const defaultOptions = {
formData: true,
fieldName: 'files[]',
method: 'post',
metaFields: null,
responseUrlFieldName: 'url',
bundle: true,