mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-10 04:22:09 +10:00
fix(client chunk api route): follow best practices
This commit is contained in:
@ -60,5 +60,5 @@ export default defineEventHandler(async (h3) => {
|
||||
|
||||
const gameReadStream = fs.createReadStream(gameFile, { start, end: end - 1 }); // end needs to be offset by 1
|
||||
|
||||
return sendStream(h3, gameReadStream);
|
||||
return gameReadStream;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user