akborana4 commited on
Commit
b6c8859
·
verified ·
1 Parent(s): 3a6d00d

Update public/app.js

Browse files
Files changed (1) hide show
  1. public/app.js +1 -1
public/app.js CHANGED
@@ -11,7 +11,7 @@ const state = {
11
  uploads: []
12
  };
13
 
14
- /* Correct line in app.js */
15
  const socket = io({ path: '/socket.io/', transports: ["websocket", "polling"] });
16
 
17
  /* ====== UI Helpers ====== */
 
11
  uploads: []
12
  };
13
 
14
+ // CRITICAL CHANGE: added the "path" option to ensure the client connects correctly
15
  const socket = io({ path: '/socket.io/', transports: ["websocket", "polling"] });
16
 
17
  /* ====== UI Helpers ====== */