feat(download): add version metadata route

This commit is contained in:
DecDuck
2024-12-07 11:00:56 +11:00
parent 6df560ca37
commit 5393db3236
2 changed files with 30 additions and 2 deletions

View File

@ -60,7 +60,5 @@ export default defineEventHandler(async (h3) => {
const gameReadStream = fs.createReadStream(gameFile, { start, end: end - 1 }); // end needs to be offset by 1
console.log(`sending game chunk for ${gameId}`);
return sendStream(h3, gameReadStream);
});