Skip to content

Commit 9243e16

Browse files
authored
Merge pull request #229 from sejori/file-fix
fix(file): clone response before sending
2 parents 173f3b4 + d7f3774 commit 9243e16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/http/handlers/file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ export const file = async (
4242
});
4343

4444
return function staticHandler() {
45-
return response;
45+
return response.clone();
4646
};
4747
};

0 commit comments

Comments
 (0)