web: remove ffmpeg worker workaround

This commit is contained in:
wukko 2024-08-13 00:23:20 +06:00
parent ed722e77ea
commit b2288ed037
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -1,14 +0,0 @@
// workaround so that vite doesn't fuck up the worker file
// and we can serve it from the same page at the same time
import ffmpegCoreWorker from "@imput/ffmpeg-core/worker?raw";
export function GET() {
return new Response(ffmpegCoreWorker, {
headers: {
"Content-Type": "text/javascript"
}
})
}
export const prerender = true;