summaryrefslogtreecommitdiff
path: root/packages/backend/src/boot
diff options
context:
space:
mode:
authorKio! <im@kio.moe>2024-12-19 19:11:52 +0000
committerKio! <im@kio.moe>2024-12-19 19:11:52 +0000
commit0bb61fef7b265bdb219abc1f89ceae8712d1620f (patch)
treeafd5bea3a6c460250e1c1414c89aae46c325f74a /packages/backend/src/boot
parentAdd missing imports before Dakkar can mention it (diff)
downloadsharkey-0bb61fef7b265bdb219abc1f89ceae8712d1620f.tar.gz
sharkey-0bb61fef7b265bdb219abc1f89ceae8712d1620f.tar.bz2
sharkey-0bb61fef7b265bdb219abc1f89ceae8712d1620f.zip
Update file worker.ts
Diffstat (limited to 'packages/backend/src/boot')
-rw-r--r--packages/backend/src/boot/worker.ts1
1 files changed, 1 insertions, 0 deletions
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);