fix(backend): correct relative imports in socket module
ci / backend (push) Canceled after 0s
ci / frontend (push) Canceled after 0s

- socket.js lives in src/, so imports must be ./middleware/auth.js
  and ./config/db.js (was ../.., which broke server startup)
This commit is contained in:
x3
2026-09-22 13:36:36 +02:00
parent a407a1381a
commit 375df06d59
+2 -2
View File
@@ -1,6 +1,6 @@
import { Server } from 'socket.io'; import { Server } from 'socket.io';
import { verifyToken } from '../middleware/auth.js'; import { verifyToken } from './middleware/auth.js';
import { query } from '../config/db.js'; import { query } from './config/db.js';
/** /**
* Real-time collaboration protocol (see docs/API.md): * Real-time collaboration protocol (see docs/API.md):