fix(client chunk api route): follow best practices
This commit is contained in:
parent
25fc957092
commit
54c5d55da7
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue