diff --git a/packages/backend/src/boot/worker.ts b/packages/backend/src/boot/worker.ts index 647ccbccc5..400083851a 100644 --- a/packages/backend/src/boot/worker.ts +++ b/packages/backend/src/boot/worker.ts @@ -9,6 +9,7 @@ import { nodeProfilingIntegration } from '@sentry/profiling-node'; import { envOption } from '@/env.js'; import { loadConfig } from '@/config.js'; import { jobQueue, server } from './common.js'; +import { fileURLToPath } from 'node:url'; import * as fs from 'node:fs'; const _filename = fileURLToPath(import.meta.url); const _dirname = dirname(_filename);