Update file worker.ts

This commit is contained in:
Kio! 2024-12-19 19:20:57 +00:00
parent 0bb61fef7b
commit 903b2be132

View file

@ -10,6 +10,7 @@ import { envOption } from '@/env.js';
import { loadConfig } from '@/config.js';
import { jobQueue, server } from './common.js';
import { fileURLToPath } from 'node:url';
import { dirname } from 'node:path';
import * as fs from 'node:fs';
const _filename = fileURLToPath(import.meta.url);
const _dirname = dirname(_filename);