From c1dcff15febab672896d893580bef4b782e31b1c Mon Sep 17 00:00:00 2001 From: Solus Date: Mon, 19 Oct 2026 17:56:54 +0000 Subject: [PATCH] Bundle-Magic-Bytes korrigiert (15 statt 11 Zeichen) --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 5ccbdaa..61b5ee1 100644 --- a/src/index.js +++ b/src/index.js @@ -257,7 +257,7 @@ app.get('/api/download/:file', async (c) => { const buf = await asset.arrayBuffer(); const head = new Uint8Array(buf.slice(0, 4)); const isZip = head[0] === 0x50 && head[1] === 0x4b; - const isBundle = new TextDecoder().decode(new Uint8Array(buf.slice(0, 11))) === '# v2 git b'; + const isBundle = new TextDecoder().decode(new Uint8Array(buf.slice(0, 15))) === '# v2 git bundle'; if ((file === 'solus.zip' && !isZip) || (file === 'solus.bundle' && !isBundle)) { return c.json({ error: 'Artefakt beschÃĪdigt oder nicht im Build enthalten', file }, 404); }