Skip to content

Commit

Permalink
encodeURI() cause problem sometime, so remove it.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wonday committed May 24, 2019
1 parent 4fcf25b commit 58a0d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export default class Pdf extends Component {
})
.fetch(
source.method ? source.method : 'GET',
encodeURI(decodeURI(source.uri)),
source.uri,
source.headers ? source.headers : {},
source.body ? source.body : ""
)
Expand Down

0 comments on commit 58a0d74

Please sign in to comment.