Skip to content

Commit

Permalink
add: take creds automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
arkokoley committed May 18, 2021
1 parent 51cc004 commit ca1f6d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Pdfvuer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
var source;
if (typeof (src) === 'string')
source = {
url: src
url: src,
withCredentials: true
};
else if (typeof (src) === 'object' && src !== null)
source = Object.assign({}, src);
Expand Down

0 comments on commit ca1f6d8

Please sign in to comment.