Skip to content

Commit

Permalink
Fixes #31
Browse files Browse the repository at this point in the history
Bump version to 1.1.1
  • Loading branch information
thlassche committed May 10, 2019
1 parent a0e5464 commit c3aaa1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default (file, scope) => {
fetch(scope.settings.endpoint.url, {
method: scope.settings.endpoint.method || "POST",
body: file,
headers: scope.settings.headers || null
headers: scope.settings.headers || {}
})
.then(response => response.json())
.then(url => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uppload",
"version": "1.1.0",
"version": "1.1.1",
"description": "Uppload is a better JavaScript file uploader",
"main": "index.js",
"homepage": "https://uppload.js.org",
Expand Down

0 comments on commit c3aaa1b

Please sign in to comment.