mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
fix donwload attachment and modal to edit message
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// 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