1
Hello, a help I am developing an app with quasar but when creating a file upload with Component I can not send the files in small parts...
look at the code...
<template>
  <q-uploader
    multiple
    auto-expand
    :headers="{'content-type': 'multipart/form-data'}"
    url=""
    :upload-factory="uploadFile"
  />
</template>
<script>
import { mapActions } from 'vuex'
export default {
  name: 'Uploader',
  methods: {
    uploadFile (file, updateProgress) {
      // "file" is an Object containing file's props, including content
      // for updating progress (as 0-1 floating number), we need to call:
      // updateProgress (bytesTransferred / totalBytes)
      this.uploadFilesSend({'file': file, 'type': file.type}).then(console.log('upload ok'))
      // we need to return a Promise
      // (resolves when upload is done, rejects when there's an error)
    },
    ...mapActions('uploads', {
      uploadFilesSend: 'create'
    })
  }
}
</script>
I am using as a server feathersjs with socket.io connection, the server complains that when I send a large file the timeout, gives to increase this team more I checked that it is trying to send only as a whole file and not in parts....
I wonder if you have and how to activate this Multipart/form-data method..
Grateful