204 requires body to be null
Otherwise the Response constructor throws
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user