mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
change room name for direct room
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
// src/shared-worker.js
|
||||
self.onconnect = function (event) {
|
||||
const port = event.ports[0];
|
||||
|
||||
port.onmessage = function (e) {
|
||||
const message = e.data;
|
||||
console.log('Received from client:', message);
|
||||
|
||||
// Echo the message back to all connected clients
|
||||
port.postMessage('Echo: ' + message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user