🐛 Fix CORS

This commit is contained in:
2025-07-28 01:25:51 +08:00
parent 6ef1533abf
commit f1b62d354f
2 changed files with 2 additions and 2 deletions

View File

@@ -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}`)
}