Remove commented-out code from server.js
This commit is contained in:
@@ -28,15 +28,6 @@ try {
|
|||||||
// --- WebSocket Logik ---
|
// --- WebSocket Logik ---
|
||||||
wss.on('connection', (socket) => {
|
wss.on('connection', (socket) => {
|
||||||
console.log('Neuer Client verbunden');
|
console.log('Neuer Client verbunden');
|
||||||
|
|
||||||
// Sende sofort den aktuellen Spirit
|
|
||||||
/*
|
|
||||||
if (typeof currentSpiritIndex === 'number') {
|
|
||||||
socket.send(JSON.stringify({
|
|
||||||
type: 'spirit',
|
|
||||||
data: spirits[currentSpiritIndex]
|
|
||||||
}));
|
|
||||||
}*/
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// --- Spirit-Zeitsteuerung ---
|
// --- Spirit-Zeitsteuerung ---
|
||||||
|
|||||||
Reference in New Issue
Block a user