From 0bb61fef7b265bdb219abc1f89ceae8712d1620f Mon Sep 17 00:00:00 2001 From: Kio! Date: Thu, 19 Dec 2024 19:11:52 +0000 Subject: [PATCH] Update file worker.ts --- packages/backend/src/boot/worker.ts | 1 + 1 file changed, 1 insertion(+) 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);