File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/source/src/parser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ function loadData(data: string | string[], done: any) {
3939 const url = data ;
4040 const imageDatas : Array < HTMLImageElement | ImageBitmap > = [ ] ;
4141 if ( typeof url === 'string' ) {
42- getImage ( { url, credentials : 'include' } , ( err , img ) => {
42+ getImage ( { url } , ( err , img ) => {
4343 if ( img ) {
4444 imageDatas . push ( img ) ;
4545 done ( imageDatas ) ;
@@ -49,7 +49,7 @@ function loadData(data: string | string[], done: any) {
4949 const imageCount = url . length ;
5050 let imageindex = 0 ;
5151 url . forEach ( ( item ) => {
52- getImage ( { url : item , credentials : 'include' } , ( err , img ) => {
52+ getImage ( { url : item } , ( err , img ) => {
5353 imageindex ++ ;
5454 if ( img ) {
5555 imageDatas . push ( img ) ;
You can’t perform that action at this time.
0 commit comments