From 4f4bd3c6e058f0a25d4397fb5ed289995d9b22c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Sat, 16 Nov 2024 11:45:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8A=91=E5=88=B6=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/audio.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/audio.ts b/src/common/audio.ts index cb61b867..6f849d6c 100644 --- a/src/common/audio.ts +++ b/src/common/audio.ts @@ -12,7 +12,7 @@ const EXIT_CODES = [0, 255]; const FFMPEG_PATH = process.env.FFMPEG_PATH ?? 'ffmpeg'; async function getWorkerPath() { - return new URL('./audio-worker.mjs', import.meta.url).href; + return new URL(/* @vite-ignore */ './audio-worker.mjs', import.meta.url).href; } const piscina = new Piscina({