mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
fix: 抑制警告
This commit is contained in:
@@ -12,7 +12,7 @@ const EXIT_CODES = [0, 255];
|
|||||||
const FFMPEG_PATH = process.env.FFMPEG_PATH ?? 'ffmpeg';
|
const FFMPEG_PATH = process.env.FFMPEG_PATH ?? 'ffmpeg';
|
||||||
|
|
||||||
async function getWorkerPath() {
|
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<EncodeArgs, EncodeResult>({
|
const piscina = new Piscina<EncodeArgs, EncodeResult>({
|
||||||
|
Reference in New Issue
Block a user