mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-08 01:34:26 +02:00
web: remove ffmpeg worker workaround
This commit is contained in:
parent
ed722e77ea
commit
b2288ed037
@ -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;
|
Loading…
x
Reference in New Issue
Block a user