retrieve blobs using net
This commit is contained in:
		
							parent
							
								
									767a01072a
								
							
						
					
					
						commit
						64c039913b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -22,7 +22,7 @@ export default class net { | |||
| 			CONNECT = await fetch(URL); | ||||
| 	 | ||||
| 			if (CONNECT.ok && !VERIFY_ONLY) { | ||||
| 				DATA = await CONNECT.text(); | ||||
| 				DATA = await CONNECT[(TYPE.toLowerCase().includes('blob')) ? `blob` : `text`](); | ||||
| 			 | ||||
| 				if (TYPE | ||||
| 						? (TYPE.toLowerCase().includes(`json`) || TYPE.toLowerCase().includes(`dictionary`)) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue