From 375df06d5950e741cca1e749052db8f3c36fcf5a Mon Sep 17 00:00:00 2001 From: x3 Date: Tue, 22 Sep 2026 13:36:36 +0200 Subject: [PATCH] fix(backend): correct relative imports in socket module - socket.js lives in src/, so imports must be ./middleware/auth.js and ./config/db.js (was ../.., which broke server startup) --- backend/src/socket.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/socket.js b/backend/src/socket.js index 8067311..f1d0ba3 100644 --- a/backend/src/socket.js +++ b/backend/src/socket.js @@ -1,6 +1,6 @@ import { Server } from 'socket.io'; -import { verifyToken } from '../middleware/auth.js'; -import { query } from '../config/db.js'; +import { verifyToken } from './middleware/auth.js'; +import { query } from './config/db.js'; /** * Real-time collaboration protocol (see docs/API.md):