Compare commits
No commits in common. "ae0cb8f8c6c4def7b86648b8cad1f26e7fd99f2f" and "ad0dcc823258cdbb38d2887f2483b3a1ddb9e871" have entirely different histories.
ae0cb8f8c6
...
ad0dcc8232
1 changed files with 1 additions and 5 deletions
|
@ -25,11 +25,7 @@ export const GET = async ({ params, locals }) => {
|
|||
controller.enqueue(chunk);
|
||||
});
|
||||
object.on('end', () => {
|
||||
try {
|
||||
controller.close();
|
||||
} catch (e) {
|
||||
console.log('Tried to close closed stream', id);
|
||||
}
|
||||
controller.close();
|
||||
});
|
||||
},
|
||||
cancel() {
|
||||
|
|
Loading…
Reference in a new issue