We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af55865 commit 70b7204Copy full SHA for 70b7204
index.js
@@ -18,6 +18,7 @@ module.exports = function (aws, options) {
18
if (!isFile) { return false; }
19
20
var uploadPath = file.path.replace(file.base, options.uploadPath || '');
21
+ uploadPath = uploadPath.replace(new RegExp('\\\\', 'g'), '/');
22
var headers = { 'x-amz-acl': 'public-read' };
23
if (options.headers) {
24
for (var key in options.headers) {
0 commit comments