Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

204 requires body to be null

Manav Rathi356f98bf5260
diff --git a/desktop/src/main/stream.ts b/desktop/src/main/stream.ts
index 7c8d98547d..03798e4bad 100644
--- a/desktop/src/main/stream.ts
+++ b/desktop/src/main/stream.ts
@@ -328,7 +328,7 @@ const handleGenerateHLSWrite = async (
if (!result) {
// This video doesn't require stream generation.
- return new Response("", { status: 204 });
+ return new Response(null, { status: 204 });
}
const { playlistPath, videoPath } = result;