mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-20 21:04:45 +08:00
fix: many minor fixes
This commit is contained in:
@@ -34,6 +34,14 @@ export async function GET(
|
||||
headers,
|
||||
});
|
||||
}
|
||||
if (artifactPath.endsWith(".mp4")) {
|
||||
return new Response(fs.readFileSync(artifactPath), {
|
||||
status: 200,
|
||||
headers: {
|
||||
"Content-Type": "video/mp4",
|
||||
},
|
||||
});
|
||||
}
|
||||
return new Response(fs.readFileSync(artifactPath), { status: 200 });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user