mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web: remove ffmpeg worker workaround
This commit is contained in:
parent
ed722e77ea
commit
b2288ed037
1 changed files with 0 additions and 14 deletions
|
@ -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…
Reference in a new issue