Javascript Axios在上传到S3时无进度事件,且应用程序托管在S3中

Javascript Axios在上传到S3时无进度事件,且应用程序托管在S3中,javascript,amazon-web-services,amazon-s3,file-upload,axios,Javascript,Amazon Web Services,Amazon S3,File Upload,Axios,我正在使用Axios上传到S3存储桶 const response = await axios.put(signedUrl, file, { headers: { 'Content-Type': contentType}, cancelToken, onUploadProgress: e => progressEvent(e), }) 在localhost上,我获取进度事件,而在托管应用程序时,我不会获取任何进度事件

我正在使用Axios上传到S3存储桶

    const response = await axios.put(signedUrl, file, {
        headers: { 'Content-Type': contentType},
        cancelToken,
        onUploadProgress: e => progressEvent(e),
        })
在localhost上,我获取进度事件,而在托管应用程序时,我不会获取任何进度事件

它也从应用程序所在的位置上传到一个单独的存储桶中