get the comments out of here
This commit is contained in:
1
index.js
1
index.js
@ -11,7 +11,6 @@ Bun.serve({
|
|||||||
await Bun.write(path + ".mp4", await req.body.blob());
|
await Bun.write(path + ".mp4", await req.body.blob());
|
||||||
await $`ffmpeg -i ${path}.mp4 -map_metadata -1 -map 0 -map -0:v -b:a 64k ${path}.ogg`
|
await $`ffmpeg -i ${path}.mp4 -map_metadata -1 -map 0 -map -0:v -b:a 64k ${path}.ogg`
|
||||||
await (Bun.file(path + ".mp4")).delete();
|
await (Bun.file(path + ".mp4")).delete();
|
||||||
console.log("deleted req file");
|
|
||||||
let response = new Response(await Bun.file(path + ".ogg").bytes(), {
|
let response = new Response(await Bun.file(path + ".ogg").bytes(), {
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/ogg",
|
"Content-Type": "application/ogg",
|
||||||
|
Reference in New Issue
Block a user