🐛 Fix CORS
This commit is contained in:
		| @@ -225,7 +225,7 @@ async function downloadAllFiles() { | ||||
|         }) | ||||
|     } else { | ||||
|       try { | ||||
|         const res = await fetch(url, { credentials: 'include' }) | ||||
|         const res = await fetch(url) | ||||
|         if (!res.ok) { | ||||
|           throw new Error(`Failed to download ${file.name}: ${res.statusText}`) | ||||
|         } | ||||
|   | ||||
| @@ -223,7 +223,7 @@ async function downloadFile() { | ||||
|       progress.value = undefined | ||||
|     }) | ||||
|   } else { | ||||
|     const res = await fetch(fileSource.value, { credentials: 'include' }) | ||||
|     const res = await fetch(fileSource.value) | ||||
|     if (!res.ok) { | ||||
|       throw new Error(`Failed to download ${fileInfo.value.name}: ${res.statusText}`) | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user