fix(socket-io): update import path for socket-server module
Fix import path from '../../socket-server' to '../socket-server' to point to the TypeScript source file instead of the deleted compiled file in the root. Path resolution: - From: src/lib/socket-io.ts - Import: '../socket-server' - Resolves to: src/socket-server.ts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -23,7 +23,7 @@ export async function getSocketIO(): Promise<SocketIOServerType | null> {
|
||||
if (!socketServerModule) {
|
||||
try {
|
||||
// Dynamic import to avoid bundling issues
|
||||
socketServerModule = await import('../../socket-server')
|
||||
socketServerModule = await import('../socket-server')
|
||||
} catch (error) {
|
||||
console.error('[Socket IO] Failed to load socket server:', error)
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user