Skip to content

Commit

Permalink
0.2.2: bugfix [!] fix a hardcode bug
Browse files Browse the repository at this point in the history
  • Loading branch information
guo-yu committed Aug 11, 2014
1 parent c7fdc17 commit de56360
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "upyun",
"version": "0.2.1",
"version": "0.2.2",
"authors": [
"turing <[email protected]>"
],
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": "upyun-form",
"version": "0.2.1",
"version": "0.2.2",
"description": "a pure front-end upyun form upload service, supports both native js and angular.js",
"main": "src/upyun.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/upyun.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@

// by default, if not upload files by form,
// file object will be parse as `params`
if (!uploadByForm) data.append('file', file);
if (!uploadByForm) data.append('file', params);
data.append('policy', policy);
data.append('signature', md5hash(policy + '&' + self.form_api_secret));

Expand Down

0 comments on commit de56360

Please sign in to comment.