fix: Route transfer message to torch handler in sync server
This commit is contained in:
@@ -78,7 +78,7 @@ export function startSyncServer() {
|
||||
const data = JSON.parse(message.toString())
|
||||
|
||||
// Route to appropriate handler based on message type
|
||||
if (data.type?.startsWith('torch-') || ['register', 'request', 'release'].includes(data.type)) {
|
||||
if (data.type?.startsWith('torch-') || ['register', 'request', 'release', 'transfer'].includes(data.type)) {
|
||||
handleTorchMessage(ws, data, broadcast)
|
||||
}
|
||||
// Git doesn't expect messages from client
|
||||
|
||||
Reference in New Issue
Block a user