Changes before error encountered
Co-authored-by: pdf114514 <57948770+pdf114514@users.noreply.github.com> Agent-Logs-Url: https://github.com/pdf114514/CarReservation/sessions/a42d4e36-a3cf-4ff7-b1cb-f076e601b1b8
This commit is contained in:
@@ -75,7 +75,7 @@ if (carCount.cnt === 0) {
|
||||
}
|
||||
|
||||
// --- WebSocket Server ---
|
||||
const wss = new WebSocketServer({ server, path: '/ws' });
|
||||
const wss = new WebSocketServer({ server, path: '/api/ws' });
|
||||
|
||||
function broadcast(message) {
|
||||
const data = JSON.stringify(message);
|
||||
|
||||
Reference in New Issue
Block a user