From b2288ed037e38eff82bc84d4583274f8be741ad4 Mon Sep 17 00:00:00 2001 From: wukko Date: Tue, 13 Aug 2024 00:23:20 +0600 Subject: [PATCH] web: remove ffmpeg worker workaround --- web/src/routes/ffmpeg-core.worker.js/+server.ts | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 web/src/routes/ffmpeg-core.worker.js/+server.ts diff --git a/web/src/routes/ffmpeg-core.worker.js/+server.ts b/web/src/routes/ffmpeg-core.worker.js/+server.ts deleted file mode 100644 index 99cef52e..00000000 --- a/web/src/routes/ffmpeg-core.worker.js/+server.ts +++ /dev/null @@ -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;